Show More
@@ -1,63 +1,64 b'' | |||
|
1 | 1 | <%namespace name="base" file="/base/base.html"/> |
|
2 | 2 | |
|
3 | 3 | <% |
|
4 | 4 | elems = [ |
|
5 | 5 | (_('Owner'), lambda:base.gravatar_with_user(c.repo_group.user.email), '', ''), |
|
6 | 6 | (_('Created on'), h.format_date(c.repo_group.created_on), '', ''), |
|
7 | (_('Is Personal Group'), c.repo_group.personal or False, '', ''), | |
|
7 | 8 | |
|
8 | 9 | (_('Total repositories'), c.repo_group.repositories_recursive_count, '', ''), |
|
9 | 10 | (_('Top level repositories'), c.repo_group.repositories.count(), '', c.repo_group.repositories.all()), |
|
10 | 11 | |
|
11 | 12 | (_('Children groups'), c.repo_group.children.count(), '', c.repo_group.children.all()), |
|
12 | 13 | ] |
|
13 | 14 | %> |
|
14 | 15 | |
|
15 | 16 | <div class="panel panel-default"> |
|
16 | 17 | <div class="panel-heading"> |
|
17 | 18 | <h3 class="panel-title">${_('Repository Group: %s') % c.repo_group.group_name}</h3> |
|
18 | 19 | </div> |
|
19 | 20 | <div class="panel-body"> |
|
20 | 21 | ${base.dt_info_panel(elems)} |
|
21 | 22 | </div> |
|
22 | 23 | |
|
23 | 24 | </div> |
|
24 | 25 | |
|
25 | 26 | <div class="panel panel-danger"> |
|
26 | 27 | <div class="panel-heading"> |
|
27 | 28 | <h3 class="panel-title">${_('Delete repository group')}</h3> |
|
28 | 29 | </div> |
|
29 | 30 | <div class="panel-body"> |
|
30 | 31 | ${h.secure_form(h.url('delete_repo_group', group_name=c.repo_group.group_name),method='delete')} |
|
31 | 32 | <table class="display"> |
|
32 | 33 | |
|
33 | 34 | <tr> |
|
34 | 35 | <td> |
|
35 | 36 | ${ungettext('This repository group includes %s children repository group.', 'This repository group includes %s children repository groups.', c.repo_group.children.count()) % c.repo_group.children.count()} |
|
36 | 37 | </td> |
|
37 | 38 | <td> |
|
38 | 39 | </td> |
|
39 | 40 | <td> |
|
40 | 41 | </td> |
|
41 | 42 | </tr> |
|
42 | 43 | <tr> |
|
43 | 44 | <td> |
|
44 | 45 | ${ungettext('This repository group includes %s repository.', 'This repository group includes %s repositories.', c.repo_group.repositories_recursive_count) % c.repo_group.repositories_recursive_count} |
|
45 | 46 | </td> |
|
46 | 47 | <td> |
|
47 | 48 | </td> |
|
48 | 49 | <td> |
|
49 | 50 | </td> |
|
50 | 51 | </tr> |
|
51 | 52 | |
|
52 | 53 | </table> |
|
53 | 54 | <div style="margin: 0 0 20px 0" class="fake-space"></div> |
|
54 | 55 | |
|
55 | 56 | <button class="btn btn-small btn-danger" type="submit" |
|
56 | 57 | onclick="return confirm('${_('Confirm to delete this group: %s') % (c.repo_group.group_name)}');"> |
|
57 | 58 | ${_('Delete this repository group')} |
|
58 | 59 | </button> |
|
59 | 60 | ${h.end_form()} |
|
60 | 61 | </div> |
|
61 | 62 | </div> |
|
62 | 63 | |
|
63 | 64 |
General Comments 0
You need to be logged in to leave comments.
Login now