##// END OF EJS Templates
show forks in contextbar
marcink -
r3581:93d912ea beta
parent child Browse files
Show More
@@ -15,6 +15,7 b''
15 15 #context-bar a.files { background-image: url("../images/icons/file.png"); }
16 16 #context-bar a.switch-to { background-image: url("../images/icons/arrow_switch.png"); }
17 17 #context-bar a.options { background-image: url("../images/icons/table_gear.png"); }
18 #context-bar a.forks { background-image: url("../images/icons/arrow_divide.png"); }
18 19 #context-bar a.pull-request { background-image: url("../images/icons/arrow_join.png"); }
19 20 #context-bar a.branches { background-image: url("../images/icons/arrow_branch.png"); }
20 21 #context-bar a.tags { background-image: url("../images/icons/tag_blue.png"); }
@@ -4521,6 +4521,17 b' form.comment-inline-form {'
4521 4521 -webkit-border-radius: 4px !important;
4522 4522 }
4523 4523
4524 #context-pages .forks span,
4525 .menu_link_notifications {
4526 padding: 4px 4px !important;
4527 text-align: center;
4528 color: #888 !important;
4529 background-color: #DEDEDE !important;
4530 border-radius: 4px !important;
4531 -webkit-border-radius: 4px !important;
4532 }
4533
4534
4524 4535 .notification-header {
4525 4536 padding-top: 6px;
4526 4537 }
@@ -164,8 +164,15 b''
164 164 %endif
165 165 </ul>
166 166 </li>
167 <li ${is_current('showforks')}>
168 <a href="${h.url('repo_forks_home',repo_name=c.repo_name)}" title="${_('Show Forks')}" class="forks">${_('Forks')}
169 %if c.repository_forks:
170 <span>${c.repository_forks}</span>
171 %endif
172 </a>
173 </li>
167 174 <li ${is_current('showpullrequest')}>
168 <a href="${h.url('pullrequest_show_all',repo_name=c.repo_name)}" title="${_('Show Pull Requests')}" class="pull-request">Pull Requests
175 <a href="${h.url('pullrequest_show_all',repo_name=c.repo_name)}" title="${_('Show Pull Requests')}" class="pull-request">${_('Pull Requests')}
169 176 %if c.repository_pull_requests:
170 177 <span>${c.repository_pull_requests}</span>
171 178 %endif
@@ -13,10 +13,8 b''
13 13 ${_('fork')}
14 14 </%def>
15 15
16 <%def name="page_nav()">
17 ${self.menu('')}
18 </%def>
19 16 <%def name="main()">
17 ${self.context_bar('showforks')}
20 18 <div class="box">
21 19 <!-- box / title -->
22 20 <div class="title">
@@ -9,11 +9,8 b''
9 9 ${_('Forks')}
10 10 </%def>
11 11
12 <%def name="page_nav()">
13 ${self.menu('forks')}
14 </%def>
15 12 <%def name="main()">
16 ${self.context_bar('forks')}
13 ${self.context_bar('showforks')}
17 14 <div class="box">
18 15 <!-- box / title -->
19 16 <div class="title">
General Comments 0
You need to be logged in to leave comments. Login now