diff --git a/pylons_app/templates/index.html b/pylons_app/templates/index.html --- a/pylons_app/templates/index.html +++ b/pylons_app/templates/index.html @@ -13,7 +13,11 @@ <%def name="main()"> <%def name="get_sort(name)"> - ${name} + <%name_slug = name.lower().replace(' ','-') %> + %if not name_slug.startswith('-') and c.current_sort: + <%name_slug = '-'+name_slug%> + %endif + ${name} @@ -28,12 +32,12 @@ - +
${repo['name']} ${repo['desc']} ${repo['last_change']}r${repo['rev']}:${repo['tip']}r${repo['rev']}:${repo['tip']} ${repo['contact']}