Mercurial > kallithea
changeset 7184:52d4bb85cbbd
icons: replace icon-keyhole-circled with icon-lock for private repositories and gists
icon-lock is more iconic and easier to recognise.
author | domruf <dominikruf@gmail.com> |
---|---|
date | Thu, 12 Oct 2017 22:21:51 +0200 |
parents | ba8781f3f2c2 |
children | 586f80f48113 |
files | kallithea/templates/base/base.html kallithea/templates/data_table/_dt_elements.html |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/templates/base/base.html Wed Feb 21 10:58:21 2018 +0100 +++ b/kallithea/templates/base/base.html Thu Oct 12 22:21:51 2017 +0200 @@ -101,7 +101,7 @@ ## public/private %if c.db_repo.private: - <i class="icon-keyhole-circled"></i> + <i class="icon-lock"></i> %else: <i class="icon-globe"></i> %endif @@ -315,7 +315,7 @@ <li><a href="${h.url('gists')}"><i class="icon-globe"></i>${_('All Public Gists')}</a></li> %if request.authuser.username != 'default': <li><a href="${h.url('gists', public=1)}"><i class="icon-user"></i>${_('My Public Gists')}</a></li> - <li><a href="${h.url('gists', private=1)}"><i class="icon-keyhole-circled"></i>${_('My Private Gists')}</a></li> + <li><a href="${h.url('gists', private=1)}"><i class="icon-lock"></i>${_('My Private Gists')}</a></li> %endif </ul> </li> @@ -439,7 +439,7 @@ tmpl += '<span class="label label-repo" title="${_('Git repository')}">git</span> '; } if(obj_dict['private']){ - tmpl += '<i class="icon-keyhole-circled"></i>'; + tmpl += '<i class="icon-lock"></i>'; } else if(visual_show_public_icon){ tmpl += '<i class="icon-globe"></i>';
--- a/kallithea/templates/data_table/_dt_elements.html Wed Feb 21 10:58:21 2018 +0100 +++ b/kallithea/templates/data_table/_dt_elements.html Thu Oct 12 22:21:51 2017 +0200 @@ -18,7 +18,7 @@ ${get_name(name)} </a> %if private and c.visual.show_private_icon: - <i class="icon-keyhole-circled" title="${_('Private repository')}"></i> + <i class="icon-lock" title="${_('Private repository')}"></i> %elif not private and c.visual.show_public_icon: <i class="icon-globe" title="${_('Public repository')}"></i> %endif