# HG changeset patch # User Marcin Kuzminski # Date 2019-11-15 09:29:03 # Node ID 986ce80def1f49f81f5a2ef81ba85cba323f1a4e # Parent df62e32ad4a8b3e56503cde2b202d1beae80b642 gists: bring back add button and specify access level is for private gists. 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")}