diff --git a/rhodecode/templates/summary/summary.html b/rhodecode/templates/summary/summary.html
--- a/rhodecode/templates/summary/summary.html
+++ b/rhodecode/templates/summary/summary.html
@@ -47,11 +47,11 @@
%if c.rhodecode_user.username != 'default':
%if c.following:
+ onclick="javascript:toggleFollowingRepo(this,${c.repo_info.dbrepo.repo_id},'${str(h.get_token())}')">
%else:
+ onclick="javascript:toggleFollowingRepo(this,${c.repo_info.dbrepo.repo_id},'${str(h.get_token())}')">
%endif
%endif:
@@ -61,7 +61,7 @@
+ src="${h.url("/images/icons/arrow_divide.png")}"/>
${_('Fork of')} ${c.repo_info.dbrepo.fork.repo_name}
@@ -640,4 +640,4 @@
-%def>
\ No newline at end of file
+%def>