summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2012-11-23 01:37:52 -0600
committerJesse Luehrs <doy@tozt.net>2012-11-23 01:37:52 -0600
commitff8b1d812d1665f108da01a714fc6912713f73cf (patch)
tree184cf3842bd12ec11d05e70a877689365d9d5a0f
parent1619c3f3579ab66bc1133264e05bd41c8b67a83a (diff)
downloadtozt.net-ff8b1d812d1665f108da01a714fc6912713f73cf.tar.gz
tozt.net-ff8b1d812d1665f108da01a714fc6912713f73cf.zip
another event type
-rw-r--r--root/static/github_activity.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/root/static/github_activity.js b/root/static/github_activity.js
index 1cd5b48..42aff3a 100644
--- a/root/static/github_activity.js
+++ b/root/static/github_activity.js
@@ -44,6 +44,11 @@ var GithubActivity = (function($, _) {
#<% print(url.replace(/.*\\/issues\\/(\\d+)#.*/, "$1")); %> \
</a> in <a href="<%= repository.url%>"> \
<%= repository.owner %>/<%= repository.name %></a> \
+ <% } else if (type == "IssuesEvent") { %> \
+ <b><%= payload.action %> issue</b> <a href="<%= url %>"> \
+ #<% print(url.replace(/.*\\/issues\\/(\\d+)#.*/, "$1")); %> \
+ </a> in <a href="<%= repository.url%>"> \
+ <%= repository.owner %>/<%= repository.name %></a> \
<% } else if (type == "ForkEvent") { %> \
<b>forked</b> <a href="<%= repository.url %>"> \
<%= repository.owner %>/<%= repository.name %></a> \