diff --git a/rhodecode/templates/admin/repos/repo_edit.html b/rhodecode/templates/admin/repos/repo_edit.html --- a/rhodecode/templates/admin/repos/repo_edit.html +++ b/rhodecode/templates/admin/repos/repo_edit.html @@ -302,7 +302,6 @@
${h.submit('reset_stats_%s' % c.repo_info.repo_name,_('Reset current statistics'),class_="refresh_icon action_button",onclick="return confirm('Confirm to remove current statistics');")} -
  • ${_('Fetched to rev')}: ${c.stats_revision}/${c.repo_last_rev}
  • @@ -323,6 +322,19 @@
${h.end_form()} +

${_('Public journal')}

+ ${h.form(url('repo_public_journal', repo_name=c.repo_info.repo_name),method='put')} +
+
+ ${h.hidden('auth_token',str(h.get_token()))} + %if c.in_public_journal: + ${h.submit('set_public_%s' % c.repo_info.repo_name,_('Remove from public journal'),class_="stop_following_icon action_button")} + %else: + ${h.submit('set_public_%s' % c.repo_info.repo_name,_('Add to public journal'),class_="start_following_icon action_button")} + %endif +
+
+ ${h.end_form()}

${_('Delete')}

${h.form(url('repo', repo_name=c.repo_info.repo_name),method='delete')}