diff --git a/rhodecode/templates/admin/gists/gist_index.mako b/rhodecode/templates/admin/gists/gist_index.mako --- a/rhodecode/templates/admin/gists/gist_index.mako +++ b/rhodecode/templates/admin/gists/gist_index.mako @@ -37,6 +37,14 @@ %endif + % if c.rhodecode_user.username != h.DEFAULT_USER: +
+ + ${_(u'Create New Gist')} + +
+ % endif +
+ ${h.submit('private',_('Create Private Gist'),class_="btn")} ${h.submit('public',_('Create Public Gist'),class_="btn")}