##// END OF EJS Templates
main html update
marcink -
r268:bd70107e default
parent child Browse files
Show More
@@ -16,23 +16,22 b' from pylons_app.lib import filters'
16 16 <%def name="get_sort(name)">
17 17 <%name_slug = name.lower().replace(' ','_') %>
18 18 %if name_slug == c.cs_slug:
19 <span style="font-weight: bold;color:#006699">${name}</span>
19 <span style="font-weight: bold;text-decoration: underline;">${name}</span>
20 20 %else:
21 21 <span style="font-weight: bold">${name}</span>
22 22 %endif
23 <a href="?sort=${name_slug}">&darr;</a>
24 <a href="?sort=-${name_slug}">&uarr;</a>
23 <a style="color:#FFF" href="?sort=${name_slug}">&darr;</a>
24 <a style="color:#FFF" href="?sort=-${name_slug}">&uarr;</a>
25 25 </%def>
26 <table>
27 <tr>
26 <table class="table_disp">
27 <tr class="header">
28 28 <td>${get_sort(_('Name'))}</td>
29 29 <td>${get_sort(_('Description'))}</td>
30 30 <td>${get_sort(_('Last change'))}</td>
31 31 <td>${get_sort(_('Tip'))}</td>
32 32 <td>${get_sort(_('Contact'))}</td>
33 <td></td>
34 <td></td>
35 <td></td>
33 <td>${_('RSS')}</td>
34 <td>${_('Atom')}</td>
36 35 </tr>
37 36 %for cnt,repo in enumerate(c.repos_list):
38 37 <tr class="parity${cnt%2}">
@@ -41,20 +40,11 b' from pylons_app.lib import filters'
41 40 <td>${repo['last_change']|n,filters.age}</td>
42 41 <td>${h.link_to('r%s:%s' % (repo['rev'],repo['tip']),h.url('changeset_home',repo_name=repo['name'],revision=repo['tip']))}</td>
43 42 <td title="${repo['contact']}">${repo['contact']|n,filters.person}</td>
44
45 ##%for archive in repo['repo_archives']:
46 ##<td class="indexlinks">
47 ## ${h.link_to(archive['type'],
48 ## h.url('files_archive_home',repo_name=repo['name'],
49 ## revision='tip',fileformat=archive['extension']),class_="archive_logo" )}
50 ##</td>
51 ##%endfor
52
53 43 <td>
54 ${h.link_to(_('RSS'),h.url('rss_feed_home',repo_name=repo['name']),class_='rss_logo')}
44 <a title="${_('Subscribe to %s rss feed')%repo['name']}" class="rss_logo" href="${h.url('rss_feed_home',repo_name=repo['name'])}"></a>
55 45 </td>
56 46 <td>
57 ${h.link_to(_('Atom'),h.url('atom_feed_home',repo_name=repo['name']),class_='atom_logo')}
47 <a title="${_('Subscribe to %s atom feed')%repo['name']}" class="atom_logo" href="${h.url('atom_feed_home',repo_name=repo['name'])}"></a>
58 48 </td>
59 49 </tr>
60 50 %endfor
General Comments 0
You need to be logged in to leave comments. Login now