Show More
@@ -160,7 +160,6 class ReposGroupsController(BaseControll | |||
|
160 | 160 | |
|
161 | 161 | return redirect(url('repos_groups')) |
|
162 | 162 | |
|
163 | ||
|
164 | 163 | @HasPermissionAnyDecorator('hg.admin') |
|
165 | 164 | def delete(self, id): |
|
166 | 165 | """DELETE /repos_groups/id: Delete an existing item""" |
@@ -137,9 +137,9 | |||
|
137 | 137 | %for repo in c.user_repos: |
|
138 | 138 | <tr> |
|
139 | 139 | <td> |
|
140 |
%if repo['dbrepo']['repo_type'] |
|
|
140 | %if h.is_hg(repo['dbrepo']['repo_type']): | |
|
141 | 141 | <img class="icon" title="${_('Mercurial repository')}" alt="${_('Mercurial repository')}" src="${h.url('/images/icons/hgicon.png')}"/> |
|
142 |
%elif repo['dbrepo']['repo_type'] |
|
|
142 | %elif h.is_git(repo['dbrepo']['repo_type']): | |
|
143 | 143 | <img class="icon" title="${_('Git repository')}" alt="${_('Git repository')}" src="${h.url('/images/icons/giticon.png')}"/> |
|
144 | 144 | %else: |
|
145 | 145 |
@@ -165,15 +165,6 | |||
|
165 | 165 | } |
|
166 | 166 | } |
|
167 | 167 | |
|
168 | //clear 'selected' select | |
|
169 | //c.options.length = 0; | |
|
170 | ||
|
171 | //fill it with remembered options | |
|
172 | //for(var i = 0;node = cache[i];i++){ | |
|
173 | // c.options[i]=new Option(node.text, node.value, false, false); | |
|
174 | //} | |
|
175 | ||
|
176 | ||
|
177 | 168 |
|
|
178 | 169 |
|
|
179 | 170 |
|
@@ -274,7 +265,6 | |||
|
274 | 265 | |
|
275 | 266 | } |
|
276 | 267 | |
|
277 | ||
|
278 | 268 |
|
|
279 | 269 |
|
|
280 | 270 |
|
@@ -284,7 +274,7 | |||
|
284 | 274 |
|
|
285 | 275 |
|
|
286 | 276 | } |
|
287 | }) | |
|
277 | }); | |
|
288 | 278 | }); |
|
289 | 279 | </script> |
|
290 | 280 | </%def> |
General Comments 0
You need to be logged in to leave comments.
Login now