Skip to content

Instantly share code, notes, and snippets.

@paulbaumgart
Created April 17, 2010 03:22
Show Gist options
  • Save paulbaumgart/369233 to your computer and use it in GitHub Desktop.
Save paulbaumgart/369233 to your computer and use it in GitHub Desktop.
diff --git a/Views/Cappuccino/EJS/Templates/DisplayObject.ejs b/Views/Cappuccino/EJS/Templates/DisplayObject.ejs
index 733e0f4..62fadc7 100644
--- a/Views/Cappuccino/EJS/Templates/DisplayObject.ejs
+++ b/Views/Cappuccino/EJS/Templates/DisplayObject.ejs
@@ -45,7 +45,11 @@
<ul>
<% for (var i = 0; i < value.length; i++) { %>
<li>
- <%= value[i] %>
+ <% if (key === "Issues") { %>
+ <a target="_blank" href="http://github.com/<%= github_user %>/<%= github_repo %>/issues/#issue/<%= value[i] %>"><%= value[i] %></a>
+ <% } else { %>
+ <%= value[i] %>
+ <% } %>
</li>
<% } %>
</ul>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment