changeset 4602:961ef96fcc65

icon-lock-open-alt: use icon-globe to signify public repo Tests are also updated.
author Sean Farley <sean.michael.farley@gmail.com>
date Fri, 31 Oct 2014 14:48:27 -0700
parents 27504cac4127
children 4cd73f922f85
files kallithea/templates/base/base.html kallithea/templates/data_table/_dt_elements.html kallithea/tests/functional/test_home.py kallithea/tests/functional/test_summary.py
diffstat 4 files changed, 7 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/templates/base/base.html	Tue Sep 02 15:56:00 2014 +0200
+++ b/kallithea/templates/base/base.html	Fri Oct 31 14:48:27 2014 -0700
@@ -129,7 +129,7 @@
         %if c.db_repo.private:
           <i class="icon-lock"></i>
         %else:
-          <i class="icon-lock-open-alt"></i>
+          <i class="icon-globe"></i>
         %endif
         ${h.repo_link(c.db_repo.groups_and_repo)}
 
--- a/kallithea/templates/data_table/_dt_elements.html	Tue Sep 02 15:56:00 2014 +0200
+++ b/kallithea/templates/data_table/_dt_elements.html	Fri Oct 31 14:48:27 2014 -0700
@@ -77,7 +77,7 @@
     %if private and c.visual.show_private_icon:
       <i class="icon-lock" style="color: #e85634; font-size: 16px; vertical-align: -2px; margin: 0px 1px 0px 3px" title="${_('Private repository')}"></i>
     %elif not private and c.visual.show_public_icon:
-      <i class="icon-lock-open-alt" title="${_('Public repository')}" style="font-size: 16px; vertical-align: -2px; margin: 0px 1px 0px 3px"></i>
+      <i class="icon-globe" title="${_('Public repository')}" style="font-size: 16px; vertical-align: -2px; margin: 0px 1px 0px 3px"></i>
     %else:
       <span style="margin: 0px 8px 0px 8px"></span>
     %endif
--- a/kallithea/tests/functional/test_home.py	Tue Sep 02 15:56:00 2014 +0200
+++ b/kallithea/tests/functional/test_home.py	Fri Oct 31 14:48:27 2014 -0700
@@ -21,7 +21,7 @@
         response.mustcontain(r'href=\"/%s\"' % HG_REPO)
 
         response.mustcontain(r'<i class=\"icon-git\"')
-        response.mustcontain(r'<i class=\"icon-lock-open-alt\"')
+        response.mustcontain(r'<i class=\"icon-globe\"')
 
         response.mustcontain("""fixes issue with having custom format for git-log""")
         response.mustcontain("""/%s/changeset/5f2c6ee195929b0be80749243c18121c9864a3b3""" % GIT_REPO)
--- a/kallithea/tests/functional/test_summary.py	Tue Sep 02 15:56:00 2014 +0200
+++ b/kallithea/tests/functional/test_summary.py	Fri Oct 31 14:48:27 2014 -0700
@@ -37,7 +37,7 @@
         )
         #public/private
         response.mustcontain(
-            """<i class="icon-lock-open-alt">"""
+            """<i class="icon-globe">"""
         )
 
         # clone url...
@@ -57,7 +57,7 @@
         )
         #public/private
         response.mustcontain(
-            """<i class="icon-lock-open-alt">"""
+            """<i class="icon-globe">"""
         )
 
         # clone url...
@@ -77,7 +77,7 @@
         )
         #public/private
         response.mustcontain(
-            """<i class="icon-lock-open-alt">"""
+            """<i class="icon-globe">"""
         )
 
     def test_index_by_repo_having_id_path_in_name_hg(self):
@@ -106,7 +106,7 @@
         )
         #public/private
         response.mustcontain(
-            """<i class="icon-lock-open-alt">"""
+            """<i class="icon-globe">"""
         )
 
     def _enable_stats(self, repo):