##// END OF EJS Templates
gists: bring back add button and specify access level is for private gists.
marcink -
r4081:986ce80d default
parent child Browse files
Show More
@@ -37,6 +37,14 b''
37 37 %endif
38 38 </ul>
39 39
40 % if c.rhodecode_user.username != h.DEFAULT_USER:
41 <div class="pull-right">
42 <a class="btn btn-primary" href="${h.route_path('gists_new')}" >
43 ${_(u'Create New Gist')}
44 </a>
45 </div>
46 % endif
47
40 48 <div class="grid-quick-filter">
41 49 <ul class="grid-filter-box">
42 50 <li class="grid-filter-box-icon">
@@ -34,7 +34,7 b''
34 34 <label for='lifetime'>${_('Gist lifetime')}</label>
35 35 ${h.dropdownmenu('lifetime', '', c.lifetime_options)}
36 36
37 <label for='acl_level'>${_('Gist access level')}</label>
37 <label for='acl_level'>${_('Private Gist access level')}</label>
38 38 ${h.dropdownmenu('gist_acl_level', '', c.acl_options)}
39 39
40 40 <textarea style="margin-top: 5px; border-color: #dbd9da" id="description" name="description" placeholder="${_('Gist description ...')}"></textarea>
@@ -57,6 +57,7 b''
57 57 </div>
58 58
59 59 <div class="pull-right">
60 <i class="tooltip icon-info" title="${_('Secret gists are hidden from listing, but accessible to anyone who knows the url.')}"></i>
60 61 ${h.submit('private',_('Create Private Gist'),class_="btn")}
61 62 ${h.submit('public',_('Create Public Gist'),class_="btn")}
62 63 </div>
General Comments 0
You need to be logged in to leave comments. Login now