Changeset - ab5c736930cb
[Not reviewed]
default
0 2 0
domruf - 8 years ago 2017-06-26 22:57:28
dominikruf@gmail.com
templates: fix typo that broke deleting repo groups

An edit error in 073cf19b5067 broke some of the ways repository groups can be
removed.

Confusingly, repo groups can be deleted both from their Settings tab and from
Advanced.
2 files changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
kallithea/templates/admin/repo_groups/repo_group_edit_advanced.html
Show inline comments
 
@@ -16,7 +16,7 @@
 
%endfor
 
</dl>
 

	
 
${h.form(h.url('delete_repos_group', group_name=c.repo_group.group_name))}
 
${h.form(h.url('delete_repo_group', group_name=c.repo_group.group_name))}
 
    <button class="btn btn-danger btn-sm" type="submit"
 
            onclick="return confirm('${ungettext('Confirm to delete this group: %s with %s repository',
 
          'Confirm to delete this group: %s with %s repositories',
kallithea/templates/data_table/_dt_elements.html
Show inline comments
 
@@ -129,7 +129,7 @@
 
    </a>
 
 </div>
 
 <div class="grid_delete pull-left">
 
    ${h.form(h.url('delete_repos_group', group_name=repo_group_name))}
 
    ${h.form(h.url('delete_repo_group', group_name=repo_group_name))}
 
        <i class="icon-minus-circled"></i>
 
        ${h.submit('remove_%s' % repo_group_name,_('Delete'),class_="btn btn-default btn-xs",
 
        onclick="return confirm('"+ungettext('Confirm to delete this group: %s with %s repository','Confirm to delete this group: %s with %s repositories',gr_count) % (repo_group_name, gr_count)+"');")}
0 comments (0 inline, 0 general)