Mercurial > kallithea
comparison rhodecode/templates/base/base.html @ 3532:9e677f6d34cb beta
Fixing missing icons.
Removing the breadcrumb from the box header, so it will only be on the context bar.
author | Leonardo <leo@unity3d.com> |
---|---|
date | Tue, 05 Mar 2013 10:39:37 +0100 |
parents | 53eafc983b5c |
children | 0700ca7f6a67 |
comparison
equal
deleted
inserted
replaced
3531:1c2371dc86bd | 3532:9e677f6d34cb |
---|---|
102 %> | 102 %> |
103 | 103 |
104 <!--- CONTEXT BAR --> | 104 <!--- CONTEXT BAR --> |
105 <div id="context-bar" class="box"> | 105 <div id="context-bar" class="box"> |
106 <div id="context-top"> | 106 <div id="context-top"> |
107 <div id= "breadcrumbs"> | 107 <div id="breadcrumbs"> |
108 ${h.link_to(_(u'Repositories'),h.url('home'))} | 108 ${h.link_to(_(u'Repositories'),h.url('home'))} |
109 » | 109 » |
110 ${h.repo_link(c.rhodecode_db_repo.groups_and_repo)} | 110 ${h.repo_link(c.rhodecode_db_repo.groups_and_repo)} |
111 </div> | 111 </div> |
112 ## TODO: this check feels wrong, it would be better to have a check for permissions | 112 ## TODO: this check feels wrong, it would be better to have a check for permissions |
141 <a href="#" id="branch_tag_switcher_2" class="dropdown switch-to"></span>${_('Switch To')}</a> | 141 <a href="#" id="branch_tag_switcher_2" class="dropdown switch-to"></span>${_('Switch To')}</a> |
142 <ul id="switch_to_list_2" class="switch_to submenu"> | 142 <ul id="switch_to_list_2" class="switch_to submenu"> |
143 <li><a href="#">${_('loading...')}</a></li> | 143 <li><a href="#">${_('loading...')}</a></li> |
144 </ul> | 144 </ul> |
145 </li> | 145 </li> |
146 <li ${is_current('options')}> | 146 <li ${is_current('options')}> |
147 <a href="#" class="dropdown options"></span>Options</a> | 147 <a href="#" class="dropdown options"></span>Options</a> |
148 <ul> | 148 <ul> |
149 %if h.HasRepoPermissionAll('repository.admin')(c.repo_name): | 149 %if h.HasRepoPermissionAll('repository.admin')(c.repo_name): |
150 %if h.HasPermissionAll('hg.admin')('access settings on repository'): | 150 %if h.HasPermissionAll('hg.admin')('access settings on repository'): |
151 <li>${h.link_to(_('repository settings'),h.url('edit_repo',repo_name=c.repo_name),class_='settings')}</li> | 151 <li>${h.link_to(_('repository settings'),h.url('edit_repo',repo_name=c.repo_name),class_='settings')}</li> |