diff options
author | Jesse Luehrs <doy@tozt.net> | 2013-01-13 14:10:59 -0600 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2013-01-13 14:10:59 -0600 |
commit | 0f4250a679b8d5285606ef1aeccb81d1341fee20 (patch) | |
tree | 44bce5e9563902bfb6ecc1e0a76ebfba1b41574c /root/static/github_activity.js | |
parent | 88db285d79a2aec6265bb6daf0bcf22bfad9df4f (diff) | |
download | tozt.net-0f4250a679b8d5285606ef1aeccb81d1341fee20.tar.gz tozt.net-0f4250a679b8d5285606ef1aeccb81d1341fee20.zip |
another event
Diffstat (limited to 'root/static/github_activity.js')
-rw-r--r-- | root/static/github_activity.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/root/static/github_activity.js b/root/static/github_activity.js index 32c3e4a..efcb278 100644 --- a/root/static/github_activity.js +++ b/root/static/github_activity.js @@ -63,6 +63,9 @@ var GithubActivity = (function($, _) { <% } else if (type == "FollowEvent") { %> \ <b>started following</b> \ <a href="<%= url %>"><%= payload.target.login %></a> \ + <% } else if (type == "WatchEvent") { %> \ + <b><%= payload.action %> watching</b> \ + <a href="<%= url %>"><%= repository.name %></a> \ <% } else { %> \ Unknown event type <% type %> \ <% } %>\ |