# HG changeset patch # User Mads Kiilerich # Date 2014-10-02 21:49:16 # Node ID e98aa842683c8ae2d8a2246f11d9283089598ba0 # Parent 246cf3be2b70ac63aaf965904772495d7df31837 settings: fix weird spacing around 'Delete this Repository' diff --git a/kallithea/templates/admin/repos/repo_edit_advanced.html b/kallithea/templates/admin/repos/repo_edit_advanced.html --- a/kallithea/templates/admin/repos/repo_edit_advanced.html +++ b/kallithea/templates/admin/repos/repo_edit_advanced.html @@ -1,10 +1,8 @@

${_('Parent')}

${h.form(url('edit_repo_advanced_fork', repo_name=c.repo_info.repo_name), method='put')}
-
${h.select('id_fork_of','',c.repos_list,class_="medium")} ${h.submit('set_as_fork_%s' % c.repo_info.repo_name,_('Set'),class_="btn btn-small")} -
  • ${_('''Manually set this repository as a fork of another from the list.''')}
  • @@ -49,7 +47,6 @@

    ${_('Change Locking')}

    ${h.form(url('edit_repo_advanced_locking', repo_name=c.repo_info.repo_name), method='put')}
    -
    %if c.repo_info.locked[0]: ${h.hidden('set_unlock', '1')}
    • ${_('Force locking on the repository. Works only when anonymous access is disabled. Triggering a pull locks the repository. The user who is pulling locks the repository; only the user who pulled and locked it can unlock it by doing a push.')} @@ -79,6 +75,7 @@

      ${_('Delete')}

      ${h.form(url('repo', repo_name=c.repo_name),method='delete')} +
    +
    ${h.end_form()}