Mercurial > kallithea
annotate rhodecode/templates/admin/repos/repo_add.html @ 3338:cfc0fef66ddd beta
whitespace cleanup
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Fri, 08 Feb 2013 22:16:25 +0100 |
parents | 069884383cc7 |
children | 1f334a68d057 |
rev | line source |
---|---|
20
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
1 ## -*- coding: utf-8 -*- |
132
20680c6b0a7f
fixed add repo template
Marcin Kuzminski <marcin@python-works.com>
parents:
127
diff
changeset
|
2 <%inherit file="/base/base.html"/> |
20680c6b0a7f
fixed add repo template
Marcin Kuzminski <marcin@python-works.com>
parents:
127
diff
changeset
|
3 |
20680c6b0a7f
fixed add repo template
Marcin Kuzminski <marcin@python-works.com>
parents:
127
diff
changeset
|
4 <%def name="title()"> |
619
a1ec653f5f95
#38 updated RhodeCode titles
Marcin Kuzminski <marcin@python-works.com>
parents:
562
diff
changeset
|
5 ${_('Add repository')} - ${c.rhodecode_name} |
132
20680c6b0a7f
fixed add repo template
Marcin Kuzminski <marcin@python-works.com>
parents:
127
diff
changeset
|
6 </%def> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
299
diff
changeset
|
7 |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
299
diff
changeset
|
8 <%def name="breadcrumbs_links()"> |
3333
069884383cc7
Implemented #738 Giving a user WRITE+ permissions on folder should not allow repo creation in root folder.
Marcin Kuzminski <marcin@python-works.com>
parents:
3197
diff
changeset
|
9 %if c.rhodecode_user.is_admin: |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1111
diff
changeset
|
10 ${h.link_to(_('Admin'),h.url('admin_home'))} |
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1111
diff
changeset
|
11 » |
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1111
diff
changeset
|
12 ${h.link_to(_('Repositories'),h.url('repos'))} |
3333
069884383cc7
Implemented #738 Giving a user WRITE+ permissions on folder should not allow repo creation in root folder.
Marcin Kuzminski <marcin@python-works.com>
parents:
3197
diff
changeset
|
13 %else: |
069884383cc7
Implemented #738 Giving a user WRITE+ permissions on folder should not allow repo creation in root folder.
Marcin Kuzminski <marcin@python-works.com>
parents:
3197
diff
changeset
|
14 ${_('Admin')} |
069884383cc7
Implemented #738 Giving a user WRITE+ permissions on folder should not allow repo creation in root folder.
Marcin Kuzminski <marcin@python-works.com>
parents:
3197
diff
changeset
|
15 » |
3338
cfc0fef66ddd
whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
3333
diff
changeset
|
16 ${_('Repositories')} |
3333
069884383cc7
Implemented #738 Giving a user WRITE+ permissions on folder should not allow repo creation in root folder.
Marcin Kuzminski <marcin@python-works.com>
parents:
3197
diff
changeset
|
17 %endif |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
299
diff
changeset
|
18 » |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
299
diff
changeset
|
19 ${_('add new')} |
132
20680c6b0a7f
fixed add repo template
Marcin Kuzminski <marcin@python-works.com>
parents:
127
diff
changeset
|
20 </%def> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
299
diff
changeset
|
21 |
132
20680c6b0a7f
fixed add repo template
Marcin Kuzminski <marcin@python-works.com>
parents:
127
diff
changeset
|
22 <%def name="page_nav()"> |
3197 | 23 ${self.menu('admin')} |
132
20680c6b0a7f
fixed add repo template
Marcin Kuzminski <marcin@python-works.com>
parents:
127
diff
changeset
|
24 </%def> |
1111
4b62d2fea08a
added base for repo creation forms, both templates will share the same form.
Marcin Kuzminski <marcin@python-works.com>
parents:
888
diff
changeset
|
25 |
216
c8162373f214
Cleaned the way based was used to generate submenu for admin, now it's much more clear to use submenu. Cleaned admin and added comment to middleware
Marcin Kuzminski <marcin@python-works.com>
parents:
182
diff
changeset
|
26 <%def name="main()"> |
3197 | 27 <div class="box"> |
28 <!-- box / title --> | |
29 <div class="title"> | |
30 ${self.breadcrumbs()} | |
31 </div> | |
1111
4b62d2fea08a
added base for repo creation forms, both templates will share the same form.
Marcin Kuzminski <marcin@python-works.com>
parents:
888
diff
changeset
|
32 <%include file="repo_add_base.html"/> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1111
diff
changeset
|
33 </div> |
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1111
diff
changeset
|
34 </%def> |