diff --git a/rhodecode/templates/index_base.html b/rhodecode/templates/index_base.html --- a/rhodecode/templates/index_base.html +++ b/rhodecode/templates/index_base.html @@ -59,10 +59,11 @@ + <%cnt=0%> + <%namespace name="dt" file="/data_table/_dt_elements.html"/> + % if c.visual.lightweight_dashboard is False: + ## old full detailed version
- <%cnt=0%> - <%namespace name="dt" file="/data_table/_dt_elements.html"/> - @@ -85,7 +86,7 @@ ##REPO NAME AND ICONS ##DESCRIPTION %endfor
- ${dt.repo_name(repo['name'],repo['dbrepo']['repo_type'],repo['dbrepo']['private'],repo['dbrepo_fork'].get('repo_name'),pageargs.get('short_repo_names'))} + ${dt.repo_name(repo['name'],repo['dbrepo']['repo_type'],repo['dbrepo']['private'],h.AttributeDict(repo['dbrepo_fork']),pageargs.get('short_repo_names'))} @@ -106,38 +107,33 @@ ## ${h.person(repo['contact'])} - %if c.rhodecode_user.username != 'default': - - %else: - - %endif: + ${dt.rss(repo['name'])} - %if c.rhodecode_user.username != 'default': - - %else: - - %endif: + ${dt.atom(repo['name'])}
+ % else: + ## lightweight version +
+
+ % endif + % if c.visual.lightweight_dashboard is False: + % else: + + % endif + \ No newline at end of file