# HG changeset patch # User domruf # Date 2017-10-12 22:21:51 # Node ID 52d4bb85cbbdfb7c93193e9c06be04a14dbde976 # Parent ba8781f3f2c253ee031ba958dc6a4c0a9613a88f icons: replace icon-keyhole-circled with icon-lock for private repositories and gists icon-lock is more iconic and easier to recognise. diff --git a/kallithea/templates/base/base.html b/kallithea/templates/base/base.html --- a/kallithea/templates/base/base.html +++ b/kallithea/templates/base/base.html @@ -101,7 +101,7 @@ ## public/private %if c.db_repo.private: - + %else: %endif @@ -315,7 +315,7 @@
  • ${_('All Public Gists')}
  • %if request.authuser.username != 'default':
  • ${_('My Public Gists')}
  • -
  • ${_('My Private Gists')}
  • +
  • ${_('My Private Gists')}
  • %endif @@ -439,7 +439,7 @@ tmpl += 'git '; } if(obj_dict['private']){ - tmpl += ''; + tmpl += ''; } else if(visual_show_public_icon){ tmpl += ''; diff --git a/kallithea/templates/data_table/_dt_elements.html b/kallithea/templates/data_table/_dt_elements.html --- a/kallithea/templates/data_table/_dt_elements.html +++ b/kallithea/templates/data_table/_dt_elements.html @@ -18,7 +18,7 @@ ${get_name(name)} %if private and c.visual.show_private_icon: - + %elif not private and c.visual.show_public_icon: %endif