Show More
@@ -33,7 +33,7 | |||||
33 | <th class="left"><a href="#">${_('Group name')}</a></th> |
|
33 | <th class="left"><a href="#">${_('Group name')}</a></th> | |
34 | <th class="left"><a href="#">${_('Description')}</a></th> |
|
34 | <th class="left"><a href="#">${_('Description')}</a></th> | |
35 | <th class="left"><a href="#">${_('Number of toplevel repositories')}</a></th> |
|
35 | <th class="left"><a href="#">${_('Number of toplevel repositories')}</a></th> | |
36 | <th class="left">${_('action')}</th> |
|
36 | <th class="left" colspan="2">${_('action')}</th> | |
37 | </tr> |
|
37 | </tr> | |
38 | </thead> |
|
38 | </thead> | |
39 |
|
39 | |||
@@ -45,16 +45,21 | |||||
45 | <td> |
|
45 | <td> | |
46 | <div style="white-space: nowrap"> |
|
46 | <div style="white-space: nowrap"> | |
47 | <img class="icon" alt="${_('Repositories group')}" src="${h.url('/images/icons/database_link.png')}"/> |
|
47 | <img class="icon" alt="${_('Repositories group')}" src="${h.url('/images/icons/database_link.png')}"/> | |
48 |
${h.link_to(h.literal(' » '.join(map(h.safe_unicode,[g.name for g in gr.parents+[gr]]))),url(' |
|
48 | ${h.link_to(h.literal(' » '.join(map(h.safe_unicode,[g.name for g in gr.parents+[gr]]))), url('repos_group_home',group_name=gr.group_name))} | |
49 | </div> |
|
49 | </div> | |
50 | </td> |
|
50 | </td> | |
51 | <td>${gr.group_description}</td> |
|
51 | <td>${gr.group_description}</td> | |
52 | <td><b>${gr_cn}</b></td> |
|
52 | <td><b>${gr_cn}</b></td> | |
53 |
|
|
53 | <td> | |
54 |
|
|
54 | <a href="${h.url('edit_repos_group',id=gr.group_id)}" title="${_('edit')}"> | |
55 | ${h.submit('remove_%s' % gr.name,_('delete'),class_="delete_icon action_button",onclick="return confirm('"+ungettext('Confirm to delete this group: %s with %s repository','Confirm to delete this group: %s with %s repositories',gr_cn) % (gr.name,gr_cn)+"');")} |
|
55 | ${h.submit('edit_%s' % gr.group_name,_('edit'),class_="edit_icon action_button")} | |
56 | ${h.end_form()} |
|
56 | </a> | |
57 |
|
|
57 | </td> | |
|
58 | <td> | |||
|
59 | ${h.form(url('repos_group', id=gr.group_id),method='delete')} | |||
|
60 | ${h.submit('remove_%s' % gr.name,_('delete'),class_="delete_icon action_button",onclick="return confirm('"+ungettext('Confirm to delete this group: %s with %s repository','Confirm to delete this group: %s with %s repositories',gr_cn) % (gr.name,gr_cn)+"');")} | |||
|
61 | ${h.end_form()} | |||
|
62 | </td> | |||
58 | </tr> |
|
63 | </tr> | |
59 | % endfor |
|
64 | % endfor | |
60 |
|
65 |
General Comments 0
You need to be logged in to leave comments.
Login now