##// END OF EJS Templates
fixed issue #497 missing landing rev on second edit repo page
marcink -
r2596:bf17b1e4 beta
parent child Browse files
Show More
@@ -1,92 +1,101 b''
1 1 ## -*- coding: utf-8 -*-
2 2 <%inherit file="/base/base.html"/>
3 3
4 4 <%def name="title()">
5 5 ${_('%s Settings') % c.repo_name} - ${c.rhodecode_name}
6 6 </%def>
7 7
8 8 <%def name="breadcrumbs_links()">
9 9 ${h.link_to(_(u'Home'),h.url('/'))}
10 10 &raquo;
11 11 ${h.link_to(c.repo_info.repo_name,h.url('summary_home',repo_name=c.repo_info.repo_name))}
12 12 &raquo;
13 13 ${_('Settings')}
14 14 </%def>
15 15
16 16 <%def name="page_nav()">
17 17 ${self.menu('settings')}
18 18 </%def>
19 19 <%def name="main()">
20 20 <div class="box">
21 21 <!-- box / title -->
22 22 <div class="title">
23 23 ${self.breadcrumbs()}
24 24 </div>
25 25 ${h.form(url('repo_settings_update', repo_name=c.repo_info.repo_name),method='put')}
26 26 <div class="form">
27 27 <!-- fields -->
28 28 <div class="fields">
29 29 <div class="field">
30 30 <div class="label">
31 31 <label for="repo_name">${_('Name')}:</label>
32 32 </div>
33 33 <div class="input input-medium">
34 34 ${h.text('repo_name',class_="small")}
35 35 </div>
36 36 </div>
37 37 <div class="field">
38 38 <div class="label">
39 39 <label for="clone_uri">${_('Clone uri')}:</label>
40 40 </div>
41 41 <div class="input">
42 42 ${h.text('clone_uri',class_="medium")}
43 43 <span class="help-block">${_('Optional http[s] url from which repository should be cloned.')}</span>
44 44 </div>
45 45 </div>
46 46 <div class="field">
47 47 <div class="label">
48 48 <label for="repo_group">${_('Repository group')}:</label>
49 49 </div>
50 50 <div class="input">
51 51 ${h.select('repo_group','',c.repo_groups,class_="medium")}
52 52 <span class="help-block">${_('Optional select a group to put this repository into.')}</span>
53 53 </div>
54 54 </div>
55 55 <div class="field">
56 <div class="label">
57 <label for="landing_rev">${_('Landing revision')}:</label>
58 </div>
59 <div class="input">
60 ${h.select('landing_rev','',c.landing_revs,class_="medium")}
61 <span class="help-block">${_('Default revision for files page, downloads, whoosh and readme')}</span>
62 </div>
63 </div>
64 <div class="field">
56 65 <div class="label label-textarea">
57 66 <label for="description">${_('Description')}:</label>
58 67 </div>
59 68 <div class="textarea text-area editor">
60 69 ${h.textarea('description')}
61 70 <span class="help-block">${_('Keep it short and to the point. Use a README file for longer descriptions.')}</span>
62 71 </div>
63 72 </div>
64 73
65 74 <div class="field">
66 75 <div class="label label-checkbox">
67 76 <label for="private">${_('Private repository')}:</label>
68 77 </div>
69 78 <div class="checkboxes">
70 79 ${h.checkbox('private',value="True")}
71 80 <span class="help-block">${_('Private repositories are only visible to people explicitly added as collaborators.')}</span>
72 81 </div>
73 82 </div>
74 83
75 84 <div class="field">
76 85 <div class="label">
77 86 <label for="">${_('Permissions')}:</label>
78 87 </div>
79 88 <div class="input">
80 89 <%include file="../admin/repos/repo_edit_perms.html"/>
81 90 </div>
82 91
83 92 <div class="buttons">
84 93 ${h.submit('save',_('Save'),class_="ui-button")}
85 94 ${h.reset('reset',_('Reset'),class_="ui-button")}
86 95 </div>
87 96 </div>
88 97 </div>
89 98 ${h.end_form()}
90 99 </div>
91 100 </div>
92 101 </%def>
General Comments 0
You need to be logged in to leave comments. Login now