comparison rhodecode/templates/base/base.html @ 637:b04d5214fd3c beta

removed shortlog from main menu, as duplicated functionality of changelog, moved shortlog as ajax pagin in summary
author Marcin Kuzminski <marcin@python-works.com>
date Tue, 26 Oct 2010 04:01:38 +0200
parents ffd07396d315
children fdb984a94d5b
comparison
equal deleted inserted replaced
636:ffd07396d315 637:b04d5214fd3c
114 <img src="/images/icons/clipboard_16.png" alt="${_('Summary')}" /> 114 <img src="/images/icons/clipboard_16.png" alt="${_('Summary')}" />
115 </span> 115 </span>
116 <span>${_('Summary')}</span> 116 <span>${_('Summary')}</span>
117 </a> 117 </a>
118 </li> 118 </li>
119 <li ${is_current('shortlog')}> 119 ##<li ${is_current('shortlog')}>
120 <a title="${_('Shortlog')}" href="${h.url('shortlog_home',repo_name=c.repo_name)}"> 120 ## <a title="${_('Shortlog')}" href="${h.url('shortlog_home',repo_name=c.repo_name)}">
121 <span class="icon"> 121 ## <span class="icon">
122 <img src="/images/icons/application_view_list.png" alt="${_('Shortlog')}" /> 122 ## <img src="/images/icons/application_view_list.png" alt="${_('Shortlog')}" />
123 </span> 123 ## </span>
124 <span>${_('Shortlog')}</span> 124 ## <span>${_('Shortlog')}</span>
125 </a> 125 ## </a>
126 </li> 126 ##</li>
127 <li ${is_current('changelog')}> 127 <li ${is_current('changelog')}>
128 <a title="${_('Changelog')}" href="${h.url('changelog_home',repo_name=c.repo_name)}"> 128 <a title="${_('Changelog')}" href="${h.url('changelog_home',repo_name=c.repo_name)}">
129 <span class="icon"> 129 <span class="icon">
130 <img src="/images/icons/time.png" alt="${_('Changelog')}" /> 130 <img src="/images/icons/time.png" alt="${_('Changelog')}" />
131 </span> 131 </span>
140 </span> 140 </span>
141 <span>${_('Switch to')}</span> 141 <span>${_('Switch to')}</span>
142 </a> 142 </a>
143 <ul> 143 <ul>
144 <li> 144 <li>
145 ${h.link_to(_('branches'),h.url('branches_home',repo_name=c.repo_name),class_='branches childs')} 145 ${h.link_to('%s (%s)' % (_('branches'),len(c.repository_branches.values()),),h.url('branches_home',repo_name=c.repo_name),class_='branches childs')}
146 <ul> 146 <ul>
147 %if c.repository_branches.values(): 147 %if c.repository_branches.values():
148 %for cnt,branch in enumerate(c.repository_branches.items()): 148 %for cnt,branch in enumerate(c.repository_branches.items()):
149 <li>${h.link_to('%s - %s' % (branch[0],h.short_id(branch[1])),h.url('files_home',repo_name=c.repo_name,revision=branch[1]))}</li> 149 <li>${h.link_to('%s - %s' % (branch[0],h.short_id(branch[1])),h.url('files_home',repo_name=c.repo_name,revision=branch[1]))}</li>
150 %endfor 150 %endfor
152 <li>${h.link_to(_('There are no branches yet'),'#')}</li> 152 <li>${h.link_to(_('There are no branches yet'),'#')}</li>
153 %endif 153 %endif
154 </ul> 154 </ul>
155 </li> 155 </li>
156 <li> 156 <li>
157 ${h.link_to(_('tags'),h.url('tags_home',repo_name=c.repo_name),class_='tags childs')} 157 ${h.link_to('%s (%s)' % (_('tags'),len(c.repository_tags.values()),),h.url('tags_home',repo_name=c.repo_name),class_='tags childs')}
158 <ul> 158 <ul>
159 %if c.repository_tags.values(): 159 %if c.repository_tags.values():
160 %for cnt,tag in enumerate(c.repository_tags.items()): 160 %for cnt,tag in enumerate(c.repository_tags.items()):
161 <li>${h.link_to('%s - %s' % (tag[0],h.short_id(tag[1])),h.url('files_home',repo_name=c.repo_name,revision=tag[1]))}</li> 161 <li>${h.link_to('%s - %s' % (tag[0],h.short_id(tag[1])),h.url('files_home',repo_name=c.repo_name,revision=tag[1]))}</li>
162 %endfor 162 %endfor