##// END OF EJS Templates
use valid options for the top menu: repositories, journal, search and admin
Mads Kiilerich -
r3603:eacd33e0 beta
parent child Browse files
Show More
@@ -13,7 +13,7 b''
13 </%def>
13 </%def>
14
14
15 <%def name="page_nav()">
15 <%def name="page_nav()">
16 ${self.menu('options')}
16 ${self.menu('admin')}
17 </%def>
17 </%def>
18
18
19 <%def name="main()">
19 <%def name="main()">
@@ -15,8 +15,9 b''
15 </%def>
15 </%def>
16
16
17 <%def name="page_nav()">
17 <%def name="page_nav()">
18 ${self.menu('home')}
18 ${self.menu('repositories')}
19 </%def>
19 </%def>
20
20 <%def name="main()">
21 <%def name="main()">
21 <%include file="/index_base.html" args="parent=self,short_repo_names=True"/>
22 <%include file="/index_base.html" args="parent=self,short_repo_names=True"/>
22 </%def>
23 </%def>
@@ -4,6 +4,7 b''
4 <%def name="title()">
4 <%def name="title()">
5 ${_('Add repos group')} &middot; ${c.rhodecode_name}
5 ${_('Add repos group')} &middot; ${c.rhodecode_name}
6 </%def>
6 </%def>
7
7 <%def name="breadcrumbs_links()">
8 <%def name="breadcrumbs_links()">
8 ${h.link_to(_('Admin'),h.url('admin_home'))}
9 ${h.link_to(_('Admin'),h.url('admin_home'))}
9 &raquo;
10 &raquo;
@@ -4,6 +4,7 b''
4 <%def name="title()">
4 <%def name="title()">
5 ${_('Edit repos group')} ${c.repos_group.name} &middot; ${c.rhodecode_name}
5 ${_('Edit repos group')} ${c.repos_group.name} &middot; ${c.rhodecode_name}
6 </%def>
6 </%def>
7
7 <%def name="breadcrumbs_links()">
8 <%def name="breadcrumbs_links()">
8 ${h.link_to(_('Admin'),h.url('admin_home'))}
9 ${h.link_to(_('Admin'),h.url('admin_home'))}
9 &raquo;
10 &raquo;
@@ -11,9 +11,11 b''
11 &raquo;
11 &raquo;
12 ${_('repository groups')}
12 ${_('repository groups')}
13 </%def>
13 </%def>
14
14 <%def name="page_nav()">
15 <%def name="page_nav()">
15 ${self.menu('admin')}
16 ${self.menu('admin')}
16 </%def>
17 </%def>
18
17 <%def name="main()">
19 <%def name="main()">
18 <div class="box">
20 <div class="box">
19 <!-- box / title -->
21 <!-- box / title -->
@@ -277,7 +277,7 b''
277 %>
277 %>
278 <ul id="quick" class="horizontal-list">
278 <ul id="quick" class="horizontal-list">
279 <!-- repo switcher -->
279 <!-- repo switcher -->
280 <li ${is_current('home')}>
280 <li ${is_current('repositories')}>
281 <a class="menu_link repo_switcher childs" id="repo_switcher" title="${_('Switch repository')}" href="${h.url('home')}">
281 <a class="menu_link repo_switcher childs" id="repo_switcher" title="${_('Switch repository')}" href="${h.url('home')}">
282 ${_('Repositories')}
282 ${_('Repositories')}
283 </a>
283 </a>
@@ -11,7 +11,7 b''
11 </%def>
11 </%def>
12
12
13 <%def name="page_nav()">
13 <%def name="page_nav()">
14 ${self.menu('bookmarks')}
14 ${self.menu('repositories')}
15 </%def>
15 </%def>
16
16
17 <%def name="main()">
17 <%def name="main()">
@@ -11,7 +11,7 b''
11 </%def>
11 </%def>
12
12
13 <%def name="page_nav()">
13 <%def name="page_nav()">
14 ${self.menu('branches')}
14 ${self.menu('repositories')}
15 </%def>
15 </%def>
16
16
17 <%def name="main()">
17 <%def name="main()">
@@ -12,7 +12,7 b''
12 </%def>
12 </%def>
13
13
14 <%def name="page_nav()">
14 <%def name="page_nav()">
15 ${self.menu('changelog')}
15 ${self.menu('repositories')}
16 </%def>
16 </%def>
17
17
18 <%def name="main()">
18 <%def name="main()">
@@ -11,7 +11,7 b''
11 </%def>
11 </%def>
12
12
13 <%def name="page_nav()">
13 <%def name="page_nav()">
14 ${self.menu('changelog')}
14 ${self.menu('repositories')}
15 </%def>
15 </%def>
16
16
17 <%def name="main()">
17 <%def name="main()">
@@ -10,7 +10,7 b''
10 </%def>
10 </%def>
11
11
12 <%def name="page_nav()">
12 <%def name="page_nav()">
13 ${self.menu('changelog')}
13 ${self.menu('repositories')}
14 </%def>
14 </%def>
15
15
16 <%def name="main()">
16 <%def name="main()">
@@ -10,7 +10,7 b''
10 </%def>
10 </%def>
11
11
12 <%def name="page_nav()">
12 <%def name="page_nav()">
13 ${self.menu('changelog')}
13 ${self.menu('repositories')}
14 </%def>
14 </%def>
15
15
16 <%def name="main()">
16 <%def name="main()">
@@ -9,7 +9,7 b''
9 </%def>
9 </%def>
10
10
11 <%def name="page_nav()">
11 <%def name="page_nav()">
12 ${self.menu('files')}
12 ${self.menu('repositories')}
13 </%def>
13 </%def>
14
14
15 <%def name="main()">
15 <%def name="main()">
@@ -16,7 +16,7 b''
16 </%def>
16 </%def>
17
17
18 <%def name="page_nav()">
18 <%def name="page_nav()">
19 ${self.menu('files')}
19 ${self.menu('repositories')}
20 </%def>
20 </%def>
21
21
22 <%def name="main()">
22 <%def name="main()">
@@ -10,7 +10,7 b''
10 </%def>
10 </%def>
11
11
12 <%def name="page_nav()">
12 <%def name="page_nav()">
13 ${self.menu('followers')}
13 ${self.menu('repositories')}
14 </%def>
14 </%def>
15 <%def name="main()">
15 <%def name="main()">
16 ${self.context_bar('followers')}
16 ${self.context_bar('followers')}
@@ -1,8 +1,17 b''
1 ## -*- coding: utf-8 -*-
1 ## -*- coding: utf-8 -*-
2 <%inherit file="base/base.html"/>
2 <%inherit file="base/base.html"/>
3 <%def name="title()">${_('Dashboard')} &middot; ${c.rhodecode_name}</%def>
3
4 <%def name="breadcrumbs()"></%def>
4 <%def name="title()">
5 <%def name="page_nav()">${self.menu('home')}</%def>
5 ${_('Dashboard')} &middot; ${c.rhodecode_name}
6 </%def>
7
8 <%def name="breadcrumbs()">
9 </%def>
10
11 <%def name="page_nav()">
12 ${self.menu('repositories')}
13 </%def>
14
6 <%def name="main()">
15 <%def name="main()">
7 <%include file="index_base.html" args="parent=self"/>
16 <%include file="index_base.html" args="parent=self"/>
8 </%def>
17 </%def>
@@ -23,7 +23,7 b''
23
23
24 <%def name="page_nav()">
24 <%def name="page_nav()">
25 %if c.repo_name:
25 %if c.repo_name:
26 ${self.menu('options')}
26 ${self.menu('repositories')}
27 %else:
27 %else:
28 ${self.menu('search')}
28 ${self.menu('search')}
29 %endif
29 %endif
@@ -13,7 +13,7 b''
13 </%def>
13 </%def>
14
14
15 <%def name="page_nav()">
15 <%def name="page_nav()">
16 ${self.menu('settings')}
16 ${self.menu('repositories')}
17 </%def>
17 </%def>
18
18
19 <%def name="main()">
19 <%def name="main()">
@@ -17,8 +17,9 b''
17 </%def>
17 </%def>
18
18
19 <%def name="page_nav()">
19 <%def name="page_nav()">
20 ${self.menu('shortlog')}
20 ${self.menu('repositories')}
21 </%def>
21 </%def>
22
22 <%def name="main()">
23 <%def name="main()">
23 ${self.context_bar('options')}
24 ${self.context_bar('options')}
24 <div class="box">
25 <div class="box">
@@ -9,7 +9,7 b''
9 </%def>
9 </%def>
10
10
11 <%def name="page_nav()">
11 <%def name="page_nav()">
12 ${self.menu('summary')}
12 ${self.menu('repositories')}
13 </%def>
13 </%def>
14
14
15 <%def name="head_extra()">
15 <%def name="head_extra()">
@@ -11,7 +11,7 b''
11 </%def>
11 </%def>
12
12
13 <%def name="page_nav()">
13 <%def name="page_nav()">
14 ${self.menu('tags')}
14 ${self.menu('repositories')}
15 </%def>
15 </%def>
16
16
17 <%def name="main()">
17 <%def name="main()">
General Comments 0
You need to be logged in to leave comments. Login now