diff options
author | Jesse Luehrs <doy@tozt.net> | 2012-10-02 14:40:19 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2012-10-02 14:40:19 -0500 |
commit | 38154ff287b0ed58e233ea6a21759e0582157c27 (patch) | |
tree | 3d4b43ed6c38bfbe29abb1011dddbc918f1416f8 | |
parent | 6950bef818970989c83ee00d1618a259298dc488 (diff) | |
download | tozt.net-38154ff287b0ed58e233ea6a21759e0582157c27.tar.gz tozt.net-38154ff287b0ed58e233ea6a21759e0582157c27.zip |
add fork event type
-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 c51bc26..a898a73 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 == "ForkEvent") { %> \ + <b>forked</b> <a href="<%= repository.url %>"> \ + <%= repository.owner %>/<%= repository.name %></a> \ + to <a href="<%= url %>"> \ + <%= actor %>/<%= repository.name %></a> \ <% } else { %> \ Unknown event type <% type %> \ <% } %>\ |