changeset 4003:867a7dffc424

Make the private icon of repo more distinguished from the public one. Makes it easy to see which repositories are private.
author Marcin Kuzminski <marcin@python-works.com>
date Mon, 17 Jun 2013 15:08:31 +0200
parents 5ee04157cadc
children 6daec3bc2feb
files rhodecode/public/css/style.css rhodecode/public/images/icons/private_repo.png rhodecode/public/images/icons/public_repo.png rhodecode/templates/data_table/_dt_elements.html rhodecode/templates/repo_switcher_list.html rhodecode/templates/summary/summary.html
diffstat 6 files changed, 8 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/public/css/style.css	Sat Jun 15 22:51:59 2013 +0200
+++ b/rhodecode/public/css/style.css	Mon Jun 17 15:08:31 2013 +0200
@@ -468,11 +468,11 @@
 }
 
 #header #header-inner #quick li ul li a.private_repo, #header #header-inner #quick li ul li a.private_repo:hover {
-    background-image: url("../images/icons/lock.png")
+    background-image: url("../images/icons/private_repo.png")
 }
 
 #header #header-inner #quick li ul li a.public_repo, #header #header-inner #quick li ul li a.public_repo:hover {
-    background-image: url("../images/icons/lock_open.png");
+    background-image: url("../images/icons/public_repo.png");
 }
 
 #header #header-inner #quick li ul li a.hg, #header #header-inner #quick li ul li a.hg:hover {
Binary file rhodecode/public/images/icons/private_repo.png has changed
Binary file rhodecode/public/images/icons/public_repo.png has changed
--- a/rhodecode/templates/data_table/_dt_elements.html	Sat Jun 15 22:51:59 2013 +0200
+++ b/rhodecode/templates/data_table/_dt_elements.html	Mon Jun 17 15:08:31 2013 +0200
@@ -58,9 +58,9 @@
 
    ##PRIVATE/PUBLIC
    %if private and c.visual.show_private_icon:
-     <img class="icon" title="${_('Private repository')}" alt="${_('Private repository')}" src="${h.url('/images/icons/lock.png')}"/>
+     <img class="icon" title="${_('Private repository')}" alt="${_('Private repository')}" src="${h.url('/images/icons/private_repo.png')}"/>
    %elif not private and c.visual.show_public_icon:
-     <img class="icon" title="${_('Public repository')}" alt="${_('Public repository')}" src="${h.url('/images/icons/lock_open.png')}"/>
+     <img class="icon" title="${_('Public repository')}" alt="${_('Public repository')}" src="${h.url('/images/icons/public_repo.png')}"/>
    %endif
 
    ##NAME
--- a/rhodecode/templates/repo_switcher_list.html	Sat Jun 15 22:51:59 2013 +0200
+++ b/rhodecode/templates/repo_switcher_list.html	Mon Jun 17 15:08:31 2013 +0200
@@ -7,9 +7,9 @@
 %for repo in c.repos_list:
     <li>
       %if repo['dbrepo']['private'] and c.visual.show_private_icon:
-             <img src="${h.url('/images/icons/lock.png')}" alt="${_('Private repository')}" class="repo_switcher_type"/>
+             <img src="${h.url('/images/icons/private_repo.png')}" alt="${_('Private repository')}" class="repo_switcher_type"/>
       %elif not repo['dbrepo']['private'] and c.visual.show_public_icon:
-             <img src="${h.url('/images/icons/lock_open.png')}" alt="${_('Public repository')}" class="repo_switcher_type" />
+             <img src="${h.url('/images/icons/public_repo.png')}" alt="${_('Public repository')}" class="repo_switcher_type" />
       %endif
       ${h.link_to(repo['name'],h.url('summary_home',repo_name=repo['name']),class_="repo_name thin %s" % repo['dbrepo']['repo_type'])}
     </li>
--- a/rhodecode/templates/summary/summary.html	Sat Jun 15 22:51:59 2013 +0200
+++ b/rhodecode/templates/summary/summary.html	Mon Jun 17 15:08:31 2013 +0200
@@ -74,9 +74,9 @@
 
                  ##PUBLIC/PRIVATE
                  %if c.dbrepo.private:
-                    <img style="margin-bottom:2px" class="icon" title="${_('Private repository')}" alt="${_('Private repository')}" src="${h.url('/images/icons/lock.png')}"/>
+                    <img style="margin-bottom:2px" class="icon" title="${_('Private repository')}" alt="${_('Private repository')}" src="${h.url('/images/icons/private_repo.png')}"/>
                  %else:
-                    <img style="margin-bottom:2px" class="icon" title="${_('Public repository')}" alt="${_('Public repository')}" src="${h.url('/images/icons/lock_open.png')}"/>
+                    <img style="margin-bottom:2px" class="icon" title="${_('Public repository')}" alt="${_('Public repository')}" src="${h.url('/images/icons/public_repo.png')}"/>
                  %endif
 
                   ##REPO NAME