Mercurial > kallithea
changeset 6944:17dea2319028
repos: move optional icons after name to better align text in table
author | domruf <dominikruf@gmail.com> |
---|---|
date | Wed, 04 Oct 2017 19:48:02 +0200 |
parents | c504e3af9ee8 |
children | 3c683f04f4d7 |
files | kallithea/templates/data_table/_dt_elements.html |
diffstat | 1 files changed, 3 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/templates/data_table/_dt_elements.html Mon Oct 02 18:24:37 2017 +0200 +++ b/kallithea/templates/data_table/_dt_elements.html Wed Oct 04 19:48:02 2017 +0200 @@ -14,16 +14,14 @@ %> <div class="dt_repo ${'dt_repo_pending' if rstate == 'repo_state_pending' else ''}"> ${base.repotag(rtype)} + <a href="${h.url('edit_repo' if admin else 'summary_home', repo_name=name)}"> + ${get_name(name)} + </a> %if private and c.visual.show_private_icon: <i class="icon-keyhole-circled" title="${_('Private repository')}"></i> %elif not private and c.visual.show_public_icon: <i class="icon-globe" title="${_('Public repository')}"></i> - %else: - <i class="icon-empty"></i> %endif - <a href="${h.url('edit_repo' if admin else 'summary_home', repo_name=name)}"> - ${get_name(name)} - </a> %if fork_of: <a href="${h.url('summary_home',repo_name=fork_of.repo_name)}"><i class="icon-fork"></i></a> %endif