diff options
Diffstat (limited to 'root')
-rw-r--r-- | root/static/github_activity.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/root/static/github_activity.js b/root/static/github_activity.js index 42aff3a..32c3e4a 100644 --- a/root/static/github_activity.js +++ b/root/static/github_activity.js @@ -42,12 +42,12 @@ var GithubActivity = (function($, _) { <% } else if (type == "IssueCommentEvent") { %> \ <b>commented on issue</b> <a href="<%= url %>"> \ #<% print(url.replace(/.*\\/issues\\/(\\d+)#.*/, "$1")); %> \ - </a> in <a href="<%= repository.url%>"> \ + </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%>"> \ + #<% 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 %>"> \ |