##// END OF EJS Templates
added missing page_nav on forks page
marcink -
r3639:2f581672 beta
parent child Browse files
Show More
@@ -1,96 +1,99
1 1 ## -*- coding: utf-8 -*-
2 2 <%inherit file="/base/base.html"/>
3 3
4 4 <%def name="title()">
5 5 ${_('%s Fork') % c.repo_name} &middot; ${c.rhodecode_name}
6 6 </%def>
7 7
8 8 <%def name="breadcrumbs_links()">
9 9 ${_('Fork')}
10 10 </%def>
11 11
12 <%def name="page_nav()">
13 ${self.menu('repositories')}
14 </%def>
12 15 <%def name="main()">
13 16 ${self.context_bar('showforks')}
14 17 <div class="box">
15 18 <!-- box / title -->
16 19 <div class="title">
17 20 ${self.breadcrumbs()}
18 21 </div>
19 22 ${h.form(url('repo_fork_create_home',repo_name=c.repo_info.repo_name))}
20 23 <div class="form">
21 24 <!-- fields -->
22 25 <div class="fields">
23 26 <div class="field">
24 27 <div class="label">
25 28 <label for="repo_name">${_('Fork name')}:</label>
26 29 </div>
27 30 <div class="input">
28 31 ${h.text('repo_name',class_="small")}
29 32 ${h.hidden('repo_type',c.repo_info.repo_type)}
30 33 ${h.hidden('fork_parent_id',c.repo_info.repo_id)}
31 34 </div>
32 35 </div>
33 36 <div class="field">
34 37 <div class="label">
35 38 <label for="landing_rev">${_('Landing revision')}:</label>
36 39 </div>
37 40 <div class="input">
38 41 ${h.select('landing_rev','',c.landing_revs,class_="medium")}
39 42 <span class="help-block">${_('Default revision for files page, downloads, whoosh and readme')}</span>
40 43 </div>
41 44 </div>
42 45 <div class="field">
43 46 <div class="label">
44 47 <label for="repo_group">${_('Repository group')}:</label>
45 48 </div>
46 49 <div class="input">
47 50 ${h.select('repo_group','',c.repo_groups,class_="medium")}
48 51 <span class="help-block">${_('Optionaly select a group to put this repository into.')}</span>
49 52 </div>
50 53 </div>
51 54 <div class="field">
52 55 <div class="label label-textarea">
53 56 <label for="description">${_('Description')}:</label>
54 57 </div>
55 58 <div class="textarea text-area editor">
56 59 ${h.textarea('description',cols=23,rows=5)}
57 60 <span class="help-block">${_('Keep it short and to the point. Use a README file for longer descriptions.')}</span>
58 61 </div>
59 62 </div>
60 63 <div class="field">
61 64 <div class="label label-checkbox">
62 65 <label for="private">${_('Private')}:</label>
63 66 </div>
64 67 <div class="checkboxes">
65 68 ${h.checkbox('private',value="True")}
66 69 <span class="help-block">${_('Private repositories are only visible to people explicitly added as collaborators.')}</span>
67 70 </div>
68 71 </div>
69 72 <div class="field">
70 73 <div class="label label-checkbox">
71 74 <label for="private">${_('Copy permissions')}:</label>
72 75 </div>
73 76 <div class="checkboxes">
74 77 ${h.checkbox('copy_permissions',value="True", checked="checked")}
75 78 <span class="help-block">${_('Copy permissions from forked repository')}</span>
76 79 </div>
77 80 </div>
78 81 %if c.can_update:
79 82 <div class="field">
80 83 <div class="label label-checkbox">
81 84 <label for="private">${_('Update after clone')}:</label>
82 85 </div>
83 86 <div class="checkboxes">
84 87 ${h.checkbox('update_after_clone',value="True")}
85 88 <span class="help-block">${_('Checkout source after making a clone')}</span>
86 89 </div>
87 90 </div>
88 91 %endif
89 92 <div class="buttons">
90 93 ${h.submit('',_('Fork this repository'),class_="ui-btn large")}
91 94 </div>
92 95 </div>
93 96 </div>
94 97 ${h.end_form()}
95 98 </div>
96 99 </%def>
General Comments 0
You need to be logged in to leave comments. Login now