Changeset - 93d912ea8cb1
[Not reviewed]
beta
0 5 0
Marcin Kuzminski - 13 years ago 2013-03-24 20:46:30
marcin@python-works.com
show forks in contextbar
5 files changed with 22 insertions and 8 deletions:
0 comments (0 inline, 0 general)
rhodecode/public/css/contextbar.css
Show inline comments
 
@@ -15,6 +15,7 @@
 
#context-bar a.files { background-image: url("../images/icons/file.png"); }
 
#context-bar a.switch-to { background-image: url("../images/icons/arrow_switch.png"); }
 
#context-bar a.options { background-image: url("../images/icons/table_gear.png"); }
 
#context-bar a.forks { background-image: url("../images/icons/arrow_divide.png"); }
 
#context-bar a.pull-request { background-image: url("../images/icons/arrow_join.png"); }
 
#context-bar a.branches { background-image: url("../images/icons/arrow_branch.png"); }
 
#context-bar a.tags { background-image: url("../images/icons/tag_blue.png"); }
rhodecode/public/css/style.css
Show inline comments
 
@@ -4521,6 +4521,17 @@ form.comment-inline-form {
 
    -webkit-border-radius: 4px !important;
 
}
 

	
 
#context-pages .forks span,
 
.menu_link_notifications {
 
    padding: 4px 4px !important;
 
    text-align: center;
 
    color: #888 !important;
 
    background-color: #DEDEDE !important;
 
    border-radius: 4px !important;
 
    -webkit-border-radius: 4px !important;
 
}
 

	
 

	
 
.notification-header {
 
    padding-top: 6px;
 
}
rhodecode/templates/base/base.html
Show inline comments
 
@@ -164,8 +164,15 @@
 
              %endif
 
             </ul>
 
        </li>
 
        <li ${is_current('showforks')}>
 
          <a href="${h.url('repo_forks_home',repo_name=c.repo_name)}"  title="${_('Show Forks')}" class="forks">${_('Forks')}
 
            %if c.repository_forks:
 
              <span>${c.repository_forks}</span>
 
            %endif
 
          </a>
 
        </li>
 
        <li ${is_current('showpullrequest')}>
 
          <a href="${h.url('pullrequest_show_all',repo_name=c.repo_name)}" title="${_('Show Pull Requests')}" class="pull-request">Pull Requests
 
          <a href="${h.url('pullrequest_show_all',repo_name=c.repo_name)}" title="${_('Show Pull Requests')}" class="pull-request">${_('Pull Requests')}
 
            %if c.repository_pull_requests:
 
              <span>${c.repository_pull_requests}</span>
 
            %endif
rhodecode/templates/forks/fork.html
Show inline comments
 
@@ -13,10 +13,8 @@
 
    ${_('fork')}
 
</%def>
 

	
 
<%def name="page_nav()">
 
    ${self.menu('')}
 
</%def>
 
<%def name="main()">
 
${self.context_bar('showforks')}
 
<div class="box">
 
    <!-- box / title -->
 
    <div class="title">
rhodecode/templates/forks/forks.html
Show inline comments
 
@@ -9,11 +9,8 @@
 
    ${_('Forks')}
 
</%def>
 

	
 
<%def name="page_nav()">
 
    ${self.menu('forks')}
 
</%def>
 
<%def name="main()">
 
${self.context_bar('forks')}
 
${self.context_bar('showforks')}
 
<div class="box">
 
    <!-- box / title -->
 
    <div class="title">
0 comments (0 inline, 0 general)