##// END OF EJS Templates
added delete button into repository settings form, it makes more natural to have it there....
marcink -
r3084:2ec4a2a5 beta
parent child Browse files
Show More
@@ -88,12 +88,35
88 88 <div class="input">
89 89 <%include file="../admin/repos/repo_edit_perms.html"/>
90 90 </div>
91 </div>
92
93 <div class="field">
94 <div class="label">
95 <label for="">${_('Remove repo')}:</label>
96 </div>
97 <div class="checkboxes">
98 ${h.form(url('repo_settings_delete', repo_name=c.repo_info.repo_name),method='delete')}
99 <div class="">
100 <div class="fields">
101 ${h.submit('remove_%s' % c.repo_info.repo_name,_('Remove this repository'),class_="ui-btn red",onclick="return confirm('"+_('Confirm to delete this repository')+"');")}
102 </div>
103 <div class="field" style="border:none;color:#888">
104 <ul>
105 <li>${_('''This repository will be renamed in a special way in order to be unaccesible for RhodeCode and VCS systems.
106 If you need fully delete it from file system please do it manually''')}
107 </li>
108 </ul>
109 </div>
110 </div>
111 ${h.end_form()}
112 </div>
113 </div>
91 114
92 115 <div class="buttons">
93 116 ${h.submit('save',_('Save'),class_="ui-btn large")}
94 117 ${h.reset('reset',_('Reset'),class_="ui-btn large")}
95 118 </div>
96 </div>
119
97 120 </div>
98 121 ${h.end_form()}
99 122 </div>
General Comments 0
You need to be logged in to leave comments. Login now