Show More
@@ -1,10 +1,8 b'' | |||
|
1 | 1 | <h3>${_('Parent')}</h3> |
|
2 | 2 | ${h.form(url('edit_repo_advanced_fork', repo_name=c.repo_info.repo_name), method='put')} |
|
3 | 3 | <div class="form"> |
|
4 | <div class="fields"> | |
|
5 | 4 | ${h.select('id_fork_of','',c.repos_list,class_="medium")} |
|
6 | 5 | ${h.submit('set_as_fork_%s' % c.repo_info.repo_name,_('Set'),class_="btn btn-small")} |
|
7 | </div> | |
|
8 | 6 | <div class="field" style="border:none;color:#888"> |
|
9 | 7 | <ul> |
|
10 | 8 | <li>${_('''Manually set this repository as a fork of another from the list.''')}</li> |
@@ -49,7 +47,6 b'' | |||
|
49 | 47 | <h3>${_('Change Locking')}</h3> |
|
50 | 48 | ${h.form(url('edit_repo_advanced_locking', repo_name=c.repo_info.repo_name), method='put')} |
|
51 | 49 | <div class="form"> |
|
52 | <div class="fields"> | |
|
53 | 50 | %if c.repo_info.locked[0]: |
|
54 | 51 | ${h.hidden('set_unlock', '1')} |
|
55 | 52 | <button class="btn btn-small" type="submit" |
@@ -67,7 +64,6 b'' | |||
|
67 | 64 | </button> |
|
68 | 65 | ${_('Repository is not locked')} |
|
69 | 66 | %endif |
|
70 | </div> | |
|
71 | 67 | <div class="field" style="border:none;color:#888"> |
|
72 | 68 | <ul> |
|
73 | 69 | <li>${_('Force locking on the repository. Works only when anonymous access is disabled. Triggering a pull locks the repository. The user who is pulling locks the repository; only the user who pulled and locked it can unlock it by doing a push.')} |
@@ -79,6 +75,7 b'' | |||
|
79 | 75 | |
|
80 | 76 | <h3>${_('Delete')}</h3> |
|
81 | 77 | ${h.form(url('repo', repo_name=c.repo_name),method='delete')} |
|
78 | <div class="form"> | |
|
82 | 79 | <button class="btn btn-small btn-danger" type="submit" |
|
83 | 80 | onclick="return confirm('${_('Confirm to delete this repository: %s') % c.repo_name}');"> |
|
84 | 81 | <i class="icon-remove-sign"></i> |
@@ -94,4 +91,5 b'' | |||
|
94 | 91 | <li>${_('The deleted repository will be moved away and hidden until the administrator expires it. The administrator can both permanently delete it or restore it.')}</li> |
|
95 | 92 | </ul> |
|
96 | 93 | </div> |
|
94 | </div> | |
|
97 | 95 | ${h.end_form()} |
General Comments 0
You need to be logged in to leave comments.
Login now