##// 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 %endif
37 %endif
38 </ul>
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 <div class="grid-quick-filter">
48 <div class="grid-quick-filter">
41 <ul class="grid-filter-box">
49 <ul class="grid-filter-box">
42 <li class="grid-filter-box-icon">
50 <li class="grid-filter-box-icon">
@@ -34,7 +34,7 b''
34 <label for='lifetime'>${_('Gist lifetime')}</label>
34 <label for='lifetime'>${_('Gist lifetime')}</label>
35 ${h.dropdownmenu('lifetime', '', c.lifetime_options)}
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 ${h.dropdownmenu('gist_acl_level', '', c.acl_options)}
38 ${h.dropdownmenu('gist_acl_level', '', c.acl_options)}
39
39
40 <textarea style="margin-top: 5px; border-color: #dbd9da" id="description" name="description" placeholder="${_('Gist description ...')}"></textarea>
40 <textarea style="margin-top: 5px; border-color: #dbd9da" id="description" name="description" placeholder="${_('Gist description ...')}"></textarea>
@@ -57,6 +57,7 b''
57 </div>
57 </div>
58
58
59 <div class="pull-right">
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 ${h.submit('private',_('Create Private Gist'),class_="btn")}
61 ${h.submit('private',_('Create Private Gist'),class_="btn")}
61 ${h.submit('public',_('Create Public Gist'),class_="btn")}
62 ${h.submit('public',_('Create Public Gist'),class_="btn")}
62 </div>
63 </div>
General Comments 0
You need to be logged in to leave comments. Login now