annotate rhodecode/templates/admin/repos/repo_add.html @ 3527:87c97fcea029 beta

Adding the context bar too all pages related to a Repository. Deleted top menu items that are on the context bar already.
author Leonardo <leo@unity3d.com>
date Mon, 04 Mar 2013 12:15:34 +0100
parents cfc0fef66ddd
children 1f334a68d057
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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 &raquo;
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 &raquo;
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 &raquo;
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
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 1888
diff changeset
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
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 1888
diff changeset
27 <div class="box">
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 1888
diff changeset
28 <!-- box / title -->
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 1888
diff changeset
29 <div class="title">
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 1888
diff changeset
30 ${self.breadcrumbs()}
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 1888
diff changeset
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>