##// END OF EJS Templates
Edit groups is more consistent on how we edit objects in admin panels
marcink -
r3194:d7282940 beta
parent child Browse files
Show More
@@ -33,7 +33,7
33 33 <th class="left"><a href="#">${_('Group name')}</a></th>
34 34 <th class="left"><a href="#">${_('Description')}</a></th>
35 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 37 </tr>
38 38 </thead>
39 39
@@ -45,12 +45,17
45 45 <td>
46 46 <div style="white-space: nowrap">
47 47 <img class="icon" alt="${_('Repositories group')}" src="${h.url('/images/icons/database_link.png')}"/>
48 ${h.link_to(h.literal(' &raquo; '.join(map(h.safe_unicode,[g.name for g in gr.parents+[gr]]))),url('edit_repos_group',id=gr.group_id))}
48 ${h.link_to(h.literal(' &raquo; '.join(map(h.safe_unicode,[g.name for g in gr.parents+[gr]]))), url('repos_group_home',group_name=gr.group_name))}
49 49 </div>
50 50 </td>
51 51 <td>${gr.group_description}</td>
52 52 <td><b>${gr_cn}</b></td>
53 53 <td>
54 <a href="${h.url('edit_repos_group',id=gr.group_id)}" title="${_('edit')}">
55 ${h.submit('edit_%s' % gr.group_name,_('edit'),class_="edit_icon action_button")}
56 </a>
57 </td>
58 <td>
54 59 ${h.form(url('repos_group', id=gr.group_id),method='delete')}
55 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)+"');")}
56 61 ${h.end_form()}
General Comments 0
You need to be logged in to leave comments. Login now