##// 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
@@ -280,7 +280,7
280 <div class="field" style="border:none;color:#888">
280 <div class="field" style="border:none;color:#888">
281 <ul>
281 <ul>
282 <li>${_('''This repository will be renamed in a special way in order to be unaccesible for RhodeCode and VCS systems.
282 <li>${_('''This repository will be renamed in a special way in order to be unaccesible for RhodeCode and VCS systems.
283 If you need fully delete it from filesystem please do it manually''')}
283 If you need fully delete it from file system please do it manually''')}
284 </li>
284 </li>
285 </ul>
285 </ul>
286 </div>
286 </div>
@@ -88,12 +88,35
88 <div class="input">
88 <div class="input">
89 <%include file="../admin/repos/repo_edit_perms.html"/>
89 <%include file="../admin/repos/repo_edit_perms.html"/>
90 </div>
90 </div>
91
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>
114
92 <div class="buttons">
115 <div class="buttons">
93 ${h.submit('save',_('Save'),class_="ui-btn large")}
116 ${h.submit('save',_('Save'),class_="ui-btn large")}
94 ${h.reset('reset',_('Reset'),class_="ui-btn large")}
117 ${h.reset('reset',_('Reset'),class_="ui-btn large")}
95 </div>
118 </div>
96 </div>
119
97 </div>
120 </div>
98 ${h.end_form()}
121 ${h.end_form()}
99 </div>
122 </div>
General Comments 0
You need to be logged in to leave comments. Login now