diff options
author | Jesse Luehrs <doy@tozt.net> | 2012-11-23 01:37:52 -0600 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2012-11-23 01:37:52 -0600 |
commit | ff8b1d812d1665f108da01a714fc6912713f73cf (patch) | |
tree | 184cf3842bd12ec11d05e70a877689365d9d5a0f /root/static/github_activity.js | |
parent | 1619c3f3579ab66bc1133264e05bd41c8b67a83a (diff) | |
download | tozt.net-ff8b1d812d1665f108da01a714fc6912713f73cf.tar.gz tozt.net-ff8b1d812d1665f108da01a714fc6912713f73cf.zip |
another event type
Diffstat (limited to 'root/static/github_activity.js')
-rw-r--r-- | root/static/github_activity.js | 5 |
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> \ |