##// END OF EJS Templates
Make the private icon of repo more distinguished from...
marcink -
r4003:867a7dff default
parent child Browse files
Show More
1 NO CONTENT: new file 100644, binary diff hidden
NO CONTENT: new file 100644, binary diff hidden
1 NO CONTENT: new file 100644, binary diff hidden
NO CONTENT: new file 100644, binary diff hidden
@@ -468,11 +468,11 b' div:hover > a.permalink {'
468 }
468 }
469
469
470 #header #header-inner #quick li ul li a.private_repo, #header #header-inner #quick li ul li a.private_repo:hover {
470 #header #header-inner #quick li ul li a.private_repo, #header #header-inner #quick li ul li a.private_repo:hover {
471 background-image: url("../images/icons/lock.png")
471 background-image: url("../images/icons/private_repo.png")
472 }
472 }
473
473
474 #header #header-inner #quick li ul li a.public_repo, #header #header-inner #quick li ul li a.public_repo:hover {
474 #header #header-inner #quick li ul li a.public_repo, #header #header-inner #quick li ul li a.public_repo:hover {
475 background-image: url("../images/icons/lock_open.png");
475 background-image: url("../images/icons/public_repo.png");
476 }
476 }
477
477
478 #header #header-inner #quick li ul li a.hg, #header #header-inner #quick li ul li a.hg:hover {
478 #header #header-inner #quick li ul li a.hg, #header #header-inner #quick li ul li a.hg:hover {
@@ -58,9 +58,9 b''
58
58
59 ##PRIVATE/PUBLIC
59 ##PRIVATE/PUBLIC
60 %if private and c.visual.show_private_icon:
60 %if private and c.visual.show_private_icon:
61 <img class="icon" title="${_('Private repository')}" alt="${_('Private repository')}" src="${h.url('/images/icons/lock.png')}"/>
61 <img class="icon" title="${_('Private repository')}" alt="${_('Private repository')}" src="${h.url('/images/icons/private_repo.png')}"/>
62 %elif not private and c.visual.show_public_icon:
62 %elif not private and c.visual.show_public_icon:
63 <img class="icon" title="${_('Public repository')}" alt="${_('Public repository')}" src="${h.url('/images/icons/lock_open.png')}"/>
63 <img class="icon" title="${_('Public repository')}" alt="${_('Public repository')}" src="${h.url('/images/icons/public_repo.png')}"/>
64 %endif
64 %endif
65
65
66 ##NAME
66 ##NAME
@@ -7,9 +7,9 b''
7 %for repo in c.repos_list:
7 %for repo in c.repos_list:
8 <li>
8 <li>
9 %if repo['dbrepo']['private'] and c.visual.show_private_icon:
9 %if repo['dbrepo']['private'] and c.visual.show_private_icon:
10 <img src="${h.url('/images/icons/lock.png')}" alt="${_('Private repository')}" class="repo_switcher_type"/>
10 <img src="${h.url('/images/icons/private_repo.png')}" alt="${_('Private repository')}" class="repo_switcher_type"/>
11 %elif not repo['dbrepo']['private'] and c.visual.show_public_icon:
11 %elif not repo['dbrepo']['private'] and c.visual.show_public_icon:
12 <img src="${h.url('/images/icons/lock_open.png')}" alt="${_('Public repository')}" class="repo_switcher_type" />
12 <img src="${h.url('/images/icons/public_repo.png')}" alt="${_('Public repository')}" class="repo_switcher_type" />
13 %endif
13 %endif
14 ${h.link_to(repo['name'],h.url('summary_home',repo_name=repo['name']),class_="repo_name thin %s" % repo['dbrepo']['repo_type'])}
14 ${h.link_to(repo['name'],h.url('summary_home',repo_name=repo['name']),class_="repo_name thin %s" % repo['dbrepo']['repo_type'])}
15 </li>
15 </li>
@@ -74,9 +74,9 b' window.onhashchange = function() {'
74
74
75 ##PUBLIC/PRIVATE
75 ##PUBLIC/PRIVATE
76 %if c.dbrepo.private:
76 %if c.dbrepo.private:
77 <img style="margin-bottom:2px" class="icon" title="${_('Private repository')}" alt="${_('Private repository')}" src="${h.url('/images/icons/lock.png')}"/>
77 <img style="margin-bottom:2px" class="icon" title="${_('Private repository')}" alt="${_('Private repository')}" src="${h.url('/images/icons/private_repo.png')}"/>
78 %else:
78 %else:
79 <img style="margin-bottom:2px" class="icon" title="${_('Public repository')}" alt="${_('Public repository')}" src="${h.url('/images/icons/lock_open.png')}"/>
79 <img style="margin-bottom:2px" class="icon" title="${_('Public repository')}" alt="${_('Public repository')}" src="${h.url('/images/icons/public_repo.png')}"/>
80 %endif
80 %endif
81
81
82 ##REPO NAME
82 ##REPO NAME
General Comments 0
You need to be logged in to leave comments. Login now