Show More
@@ -16,23 +16,22 b' from pylons_app.lib import filters' | |||||
16 | <%def name="get_sort(name)"> |
|
16 | <%def name="get_sort(name)"> | |
17 | <%name_slug = name.lower().replace(' ','_') %> |
|
17 | <%name_slug = name.lower().replace(' ','_') %> | |
18 | %if name_slug == c.cs_slug: |
|
18 | %if name_slug == c.cs_slug: | |
19 |
<span style="font-weight: bold; |
|
19 | <span style="font-weight: bold;text-decoration: underline;">${name}</span> | |
20 | %else: |
|
20 | %else: | |
21 | <span style="font-weight: bold">${name}</span> |
|
21 | <span style="font-weight: bold">${name}</span> | |
22 | %endif |
|
22 | %endif | |
23 | <a href="?sort=${name_slug}">↓</a> |
|
23 | <a style="color:#FFF" href="?sort=${name_slug}">↓</a> | |
24 | <a href="?sort=-${name_slug}">↑</a> |
|
24 | <a style="color:#FFF" href="?sort=-${name_slug}">↑</a> | |
25 | </%def> |
|
25 | </%def> | |
26 | <table> |
|
26 | <table class="table_disp"> | |
27 | <tr> |
|
27 | <tr class="header"> | |
28 | <td>${get_sort(_('Name'))}</td> |
|
28 | <td>${get_sort(_('Name'))}</td> | |
29 | <td>${get_sort(_('Description'))}</td> |
|
29 | <td>${get_sort(_('Description'))}</td> | |
30 | <td>${get_sort(_('Last change'))}</td> |
|
30 | <td>${get_sort(_('Last change'))}</td> | |
31 | <td>${get_sort(_('Tip'))}</td> |
|
31 | <td>${get_sort(_('Tip'))}</td> | |
32 | <td>${get_sort(_('Contact'))}</td> |
|
32 | <td>${get_sort(_('Contact'))}</td> | |
33 | <td></td> |
|
33 | <td>${_('RSS')}</td> | |
34 | <td></td> |
|
34 | <td>${_('Atom')}</td> | |
35 | <td></td> |
|
|||
36 | </tr> |
|
35 | </tr> | |
37 | %for cnt,repo in enumerate(c.repos_list): |
|
36 | %for cnt,repo in enumerate(c.repos_list): | |
38 | <tr class="parity${cnt%2}"> |
|
37 | <tr class="parity${cnt%2}"> | |
@@ -41,20 +40,11 b' from pylons_app.lib import filters' | |||||
41 | <td>${repo['last_change']|n,filters.age}</td> |
|
40 | <td>${repo['last_change']|n,filters.age}</td> | |
42 | <td>${h.link_to('r%s:%s' % (repo['rev'],repo['tip']),h.url('changeset_home',repo_name=repo['name'],revision=repo['tip']))}</td> |
|
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 | <td title="${repo['contact']}">${repo['contact']|n,filters.person}</td> |
|
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 | <td> |
|
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 | </td> |
|
45 | </td> | |
56 | <td> |
|
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 | </td> |
|
48 | </td> | |
59 | </tr> |
|
49 | </tr> | |
60 | %endfor |
|
50 | %endfor |
General Comments 0
You need to be logged in to leave comments.
Login now