Mercurial > kallithea
annotate rhodecode/templates/followers/followers.html @ 3529:1c32b72930fa beta
Addding context bar to more repo related pages.
Fixing the base template to work on non-repo related pages.
author | leonardo |
---|---|
date | Mon, 04 Mar 2013 18:30:50 +0100 |
parents | f74be3359044 |
children | 9e677f6d34cb |
rev | line source |
---|---|
1279
cb216757a62d
#179 Added followers page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
1 ## -*- coding: utf-8 -*- |
cb216757a62d
#179 Added followers page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
2 <%inherit file="/base/base.html"/> |
cb216757a62d
#179 Added followers page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
3 |
cb216757a62d
#179 Added followers page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
4 <%def name="title()"> |
2417
76d156bef5a2
Better i18n for page titles.
Vincent Duvert <vincent@duvert.net>
parents:
1888
diff
changeset
|
5 ${_('%s Followers') % c.repo_name} - ${c.rhodecode_name} |
1279
cb216757a62d
#179 Added followers page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
6 </%def> |
cb216757a62d
#179 Added followers page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
7 |
cb216757a62d
#179 Added followers page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
8 <%def name="breadcrumbs_links()"> |
2492
79818f546538
i18n 'Home' in breadcrumbs
Takumi IINO <trot.thunder@gmail.com>
parents:
2417
diff
changeset
|
9 ${h.link_to(_(u'Home'),h.url('/'))} |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1280
diff
changeset
|
10 » |
3392
f74be3359044
unified breadcrumbs display
Marcin Kuzminski <marcin@python-works.com>
parents:
2492
diff
changeset
|
11 ${h.repo_link(c.rhodecode_db_repo.groups_and_repo)} |
1279
cb216757a62d
#179 Added followers page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
12 » |
cb216757a62d
#179 Added followers page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
13 ${_('followers')} |
cb216757a62d
#179 Added followers page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
14 </%def> |
cb216757a62d
#179 Added followers page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
15 |
cb216757a62d
#179 Added followers page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
16 <%def name="page_nav()"> |
cb216757a62d
#179 Added followers page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
17 ${self.menu('followers')} |
cb216757a62d
#179 Added followers page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
18 </%def> |
cb216757a62d
#179 Added followers page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
19 <%def name="main()"> |
3529 | 20 ${self.context_bar('followers')} |
1279
cb216757a62d
#179 Added followers page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
21 <div class="box"> |
cb216757a62d
#179 Added followers page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
22 <!-- box / title --> |
cb216757a62d
#179 Added followers page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
23 <div class="title"> |
cb216757a62d
#179 Added followers page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
24 ${self.breadcrumbs()} |
cb216757a62d
#179 Added followers page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
25 </div> |
cb216757a62d
#179 Added followers page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
26 <!-- end box / title --> |
cb216757a62d
#179 Added followers page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
27 <div class="table"> |
cb216757a62d
#179 Added followers page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
28 <div id="followers"> |
cb216757a62d
#179 Added followers page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
29 ${c.followers_data} |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1280
diff
changeset
|
30 </div> |
1279
cb216757a62d
#179 Added followers page
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
31 </div> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1280
diff
changeset
|
32 </div> |
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1280
diff
changeset
|
33 </%def> |