Mercurial > kallithea
annotate rhodecode/templates/forks/fork.html @ 3066:5d580e9bc730 beta
JS cleanup
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Thu, 06 Dec 2012 01:20:57 +0100 |
parents | d5e42c00f3c1 |
children | b4f401524060 |
rev | line source |
---|---|
525
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
1 ## -*- coding: utf-8 -*- |
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
2 <%inherit file="/base/base.html"/> |
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
3 |
87d80c84df09
added search in specific repository
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:
2175
diff
changeset
|
5 ${_('%s Fork') % c.repo_name} - ${c.rhodecode_name} |
525
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
6 </%def> |
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
7 |
87d80c84df09
added search in specific repository
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:
2485
diff
changeset
|
9 ${h.link_to(_(u'Home'),h.url('/'))} |
1084
17721a2dfadb
fixed breadcrumbs in few pages
Marcin Kuzminski <marcin@python-works.com>
parents:
888
diff
changeset
|
10 » |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1742
diff
changeset
|
11 ${h.link_to(c.repo_info.repo_name,h.url('summary_home',repo_name=c.repo_info.repo_name))} |
525
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
12 » |
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
13 ${_('fork')} |
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
14 </%def> |
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
15 |
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
16 <%def name="page_nav()"> |
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
17 ${self.menu('')} |
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
18 </%def> |
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
19 <%def name="main()"> |
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
20 <div class="box"> |
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
21 <!-- box / title --> |
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
22 <div class="title"> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1742
diff
changeset
|
23 ${self.breadcrumbs()} |
525
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
24 </div> |
530
a08f610e545e
Implemented server side forks
Marcin Kuzminski <marcin@python-works.com>
parents:
525
diff
changeset
|
25 ${h.form(url('repo_fork_create_home',repo_name=c.repo_info.repo_name))} |
525
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
26 <div class="form"> |
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
27 <!-- fields --> |
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
28 <div class="fields"> |
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
29 <div class="field"> |
1722
e7eef7a1db6a
#235 forking page repo group selection
Marcin Kuzminski <marcin@python-works.com>
parents:
1472
diff
changeset
|
30 <div class="label"> |
e7eef7a1db6a
#235 forking page repo group selection
Marcin Kuzminski <marcin@python-works.com>
parents:
1472
diff
changeset
|
31 <label for="repo_name">${_('Fork name')}:</label> |
e7eef7a1db6a
#235 forking page repo group selection
Marcin Kuzminski <marcin@python-works.com>
parents:
1472
diff
changeset
|
32 </div> |
e7eef7a1db6a
#235 forking page repo group selection
Marcin Kuzminski <marcin@python-works.com>
parents:
1472
diff
changeset
|
33 <div class="input"> |
e7eef7a1db6a
#235 forking page repo group selection
Marcin Kuzminski <marcin@python-works.com>
parents:
1472
diff
changeset
|
34 ${h.text('repo_name',class_="small")} |
e7eef7a1db6a
#235 forking page repo group selection
Marcin Kuzminski <marcin@python-works.com>
parents:
1472
diff
changeset
|
35 ${h.hidden('repo_type',c.repo_info.repo_type)} |
e7eef7a1db6a
#235 forking page repo group selection
Marcin Kuzminski <marcin@python-works.com>
parents:
1472
diff
changeset
|
36 ${h.hidden('fork_parent_id',c.repo_info.repo_id)} |
e7eef7a1db6a
#235 forking page repo group selection
Marcin Kuzminski <marcin@python-works.com>
parents:
1472
diff
changeset
|
37 </div> |
e7eef7a1db6a
#235 forking page repo group selection
Marcin Kuzminski <marcin@python-works.com>
parents:
1472
diff
changeset
|
38 </div> |
2485
133209bf300c
added landing revision into fork create form
Marcin Kuzminski <marcin@python-works.com>
parents:
2417
diff
changeset
|
39 <div class="field"> |
133209bf300c
added landing revision into fork create form
Marcin Kuzminski <marcin@python-works.com>
parents:
2417
diff
changeset
|
40 <div class="label"> |
133209bf300c
added landing revision into fork create form
Marcin Kuzminski <marcin@python-works.com>
parents:
2417
diff
changeset
|
41 <label for="landing_rev">${_('Landing revision')}:</label> |
133209bf300c
added landing revision into fork create form
Marcin Kuzminski <marcin@python-works.com>
parents:
2417
diff
changeset
|
42 </div> |
133209bf300c
added landing revision into fork create form
Marcin Kuzminski <marcin@python-works.com>
parents:
2417
diff
changeset
|
43 <div class="input"> |
133209bf300c
added landing revision into fork create form
Marcin Kuzminski <marcin@python-works.com>
parents:
2417
diff
changeset
|
44 ${h.select('landing_rev','',c.landing_revs,class_="medium")} |
133209bf300c
added landing revision into fork create form
Marcin Kuzminski <marcin@python-works.com>
parents:
2417
diff
changeset
|
45 <span class="help-block">${_('Default revision for files page, downloads, whoosh and readme')}</span> |
133209bf300c
added landing revision into fork create form
Marcin Kuzminski <marcin@python-works.com>
parents:
2417
diff
changeset
|
46 </div> |
2673
d5e42c00f3c1
white space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2607
diff
changeset
|
47 </div> |
1722
e7eef7a1db6a
#235 forking page repo group selection
Marcin Kuzminski <marcin@python-works.com>
parents:
1472
diff
changeset
|
48 <div class="field"> |
e7eef7a1db6a
#235 forking page repo group selection
Marcin Kuzminski <marcin@python-works.com>
parents:
1472
diff
changeset
|
49 <div class="label"> |
e7eef7a1db6a
#235 forking page repo group selection
Marcin Kuzminski <marcin@python-works.com>
parents:
1472
diff
changeset
|
50 <label for="repo_group">${_('Repository group')}:</label> |
e7eef7a1db6a
#235 forking page repo group selection
Marcin Kuzminski <marcin@python-works.com>
parents:
1472
diff
changeset
|
51 </div> |
e7eef7a1db6a
#235 forking page repo group selection
Marcin Kuzminski <marcin@python-works.com>
parents:
1472
diff
changeset
|
52 <div class="input"> |
e7eef7a1db6a
#235 forking page repo group selection
Marcin Kuzminski <marcin@python-works.com>
parents:
1472
diff
changeset
|
53 ${h.select('repo_group','',c.repo_groups,class_="medium")} |
2485
133209bf300c
added landing revision into fork create form
Marcin Kuzminski <marcin@python-works.com>
parents:
2417
diff
changeset
|
54 <span class="help-block">${_('Optionaly select a group to put this repository into.')}</span> |
1722
e7eef7a1db6a
#235 forking page repo group selection
Marcin Kuzminski <marcin@python-works.com>
parents:
1472
diff
changeset
|
55 </div> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1742
diff
changeset
|
56 </div> |
525
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
57 <div class="field"> |
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
58 <div class="label label-textarea"> |
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
59 <label for="description">${_('Description')}:</label> |
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
60 </div> |
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
61 <div class="textarea text-area editor"> |
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
62 ${h.textarea('description',cols=23,rows=5)} |
2485
133209bf300c
added landing revision into fork create form
Marcin Kuzminski <marcin@python-works.com>
parents:
2417
diff
changeset
|
63 <span class="help-block">${_('Keep it short and to the point. Use a README file for longer descriptions.')}</span> |
525
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
64 </div> |
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
65 </div> |
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
66 <div class="field"> |
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
67 <div class="label label-checkbox"> |
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
68 <label for="private">${_('Private')}:</label> |
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
69 </div> |
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
70 <div class="checkboxes"> |
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
71 ${h.checkbox('private',value="True")} |
2485
133209bf300c
added landing revision into fork create form
Marcin Kuzminski <marcin@python-works.com>
parents:
2417
diff
changeset
|
72 <span class="help-block">${_('Private repositories are only visible to people explicitly added as collaborators.')}</span> |
525
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
73 </div> |
1722
e7eef7a1db6a
#235 forking page repo group selection
Marcin Kuzminski <marcin@python-works.com>
parents:
1472
diff
changeset
|
74 </div> |
e7eef7a1db6a
#235 forking page repo group selection
Marcin Kuzminski <marcin@python-works.com>
parents:
1472
diff
changeset
|
75 <div class="field"> |
e7eef7a1db6a
#235 forking page repo group selection
Marcin Kuzminski <marcin@python-works.com>
parents:
1472
diff
changeset
|
76 <div class="label label-checkbox"> |
e7eef7a1db6a
#235 forking page repo group selection
Marcin Kuzminski <marcin@python-works.com>
parents:
1472
diff
changeset
|
77 <label for="private">${_('Copy permissions')}:</label> |
e7eef7a1db6a
#235 forking page repo group selection
Marcin Kuzminski <marcin@python-works.com>
parents:
1472
diff
changeset
|
78 </div> |
e7eef7a1db6a
#235 forking page repo group selection
Marcin Kuzminski <marcin@python-works.com>
parents:
1472
diff
changeset
|
79 <div class="checkboxes"> |
2175
b61b7e266b39
Make copy permission checkbox checked by default
Marcin Kuzminski <marcin@python-works.com>
parents:
1888
diff
changeset
|
80 ${h.checkbox('copy_permissions',value="True", checked="checked")} |
2485
133209bf300c
added landing revision into fork create form
Marcin Kuzminski <marcin@python-works.com>
parents:
2417
diff
changeset
|
81 <span class="help-block">${_('Copy permissions from forked repository')}</span> |
1722
e7eef7a1db6a
#235 forking page repo group selection
Marcin Kuzminski <marcin@python-works.com>
parents:
1472
diff
changeset
|
82 </div> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1742
diff
changeset
|
83 </div> |
1742
40c4f7351574
added option to do a checkout after cloning a repository
Marcin Kuzminski <marcin@python-works.com>
parents:
1722
diff
changeset
|
84 <div class="field"> |
40c4f7351574
added option to do a checkout after cloning a repository
Marcin Kuzminski <marcin@python-works.com>
parents:
1722
diff
changeset
|
85 <div class="label label-checkbox"> |
40c4f7351574
added option to do a checkout after cloning a repository
Marcin Kuzminski <marcin@python-works.com>
parents:
1722
diff
changeset
|
86 <label for="private">${_('Update after clone')}:</label> |
40c4f7351574
added option to do a checkout after cloning a repository
Marcin Kuzminski <marcin@python-works.com>
parents:
1722
diff
changeset
|
87 </div> |
40c4f7351574
added option to do a checkout after cloning a repository
Marcin Kuzminski <marcin@python-works.com>
parents:
1722
diff
changeset
|
88 <div class="checkboxes"> |
40c4f7351574
added option to do a checkout after cloning a repository
Marcin Kuzminski <marcin@python-works.com>
parents:
1722
diff
changeset
|
89 ${h.checkbox('update_after_clone',value="True")} |
2485
133209bf300c
added landing revision into fork create form
Marcin Kuzminski <marcin@python-works.com>
parents:
2417
diff
changeset
|
90 <span class="help-block">${_('Checkout source after making a clone')}</span> |
1742
40c4f7351574
added option to do a checkout after cloning a repository
Marcin Kuzminski <marcin@python-works.com>
parents:
1722
diff
changeset
|
91 </div> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1742
diff
changeset
|
92 </div> |
525
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
93 <div class="buttons"> |
2607
7ae36df760ce
removed deprecated ui-button
Marcin Kuzminski <marcin@python-works.com>
parents:
2492
diff
changeset
|
94 ${h.submit('',_('fork this repository'),class_="ui-btn large")} |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1742
diff
changeset
|
95 </div> |
525
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
96 </div> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1742
diff
changeset
|
97 </div> |
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1742
diff
changeset
|
98 ${h.end_form()} |
525
87d80c84df09
added search in specific repository
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
99 </div> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1742
diff
changeset
|
100 </%def> |