comparison rhodecode/templates/index.html @ 1343:a04fe5986109 beta

#47 implemented basic gui for browsing repo groups
author Marcin Kuzminski <marcin@python-works.com>
date Mon, 23 May 2011 00:00:03 +0200
parents d87997ed6ef1
children eee3cb592099
comparison
equal deleted inserted replaced
1342:9dacacc5b7c2 1343:a04fe5986109
44 %endif 44 %endif
45 %endif 45 %endif
46 </div> 46 </div>
47 <!-- end box / title --> 47 <!-- end box / title -->
48 <div class="table"> 48 <div class="table">
49 % if c.groups:
50 <table>
51
52 <thead>
53 <tr>
54 <th class="left"><a href="#">${_('Group name')}</a></th>
55 <th class="left"><a href="#">${_('Description')}</a></th>
56 <th class="left"><a href="#">${_('Number of repositories')}</a></th>
57 </tr>
58 </thead>
59
60 ## REPO GROUPS
61
62 % for gr in c.groups:
63 <tr>
64 <td>
65 <div style="white-space: nowrap">
66 <img class="icon" alt="${_('Repositories group')}" src="${h.url('/images/icons/database_link.png')}"/>
67 ${h.link_to(gr.group_name,url('repos_group',id=gr.group_id))}
68 </div>
69 </td>
70 <td>${gr.group_description}</td>
71 <td><b>${gr.repositories.count()}</b></td>
72 </tr>
73 % endfor
74
75 </table>
76 <div style="height: 20px"></div>
77 % endif
49 <table> 78 <table>
50 <thead> 79 <thead>
51 <tr> 80 <tr>
52 <th class="left">${get_sort(_('Name'))}</th> 81 <th class="left">${get_sort(_('Name'))}</th>
53 <th class="left">${get_sort(_('Description'))}</th> 82 <th class="left">${get_sort(_('Description'))}</th>
124 <a title="${_('Subscribe to %s atom feed')%repo['name']}" class="atom_icon" href="${h.url('atom_feed_home',repo_name=repo['name'])}"></a> 153 <a title="${_('Subscribe to %s atom feed')%repo['name']}" class="atom_icon" href="${h.url('atom_feed_home',repo_name=repo['name'])}"></a>
125 %endif: 154 %endif:
126 </td> 155 </td>
127 </tr> 156 </tr>
128 %endfor 157 %endfor
158
129 </tbody> 159 </tbody>
130 </table> 160 </table>
131 </div> 161 </div>
132 </div> 162 </div>
133 163