Index: sitescripts/stats/template/fileStats.html |
=================================================================== |
--- a/sitescripts/stats/template/fileStats.html |
+++ b/sitescripts/stats/template/fileStats.html |
@@ -111,17 +111,17 @@ |
{%- endfor %} |
<div id="quickLinks"> |
{%- if filterFields|length > 0 %} |
<a href="#overview">Overview</a> |
{%- endif %} |
{%- for field in fields %} |
- {%- if not field.filter and field.name in data %} |
+ {%- if not field.filter and not field.hidden and field.name in data %} |
<a href="#{{field.name}}">{{field.title}}</a> |
{%- endif %} |
{%- endfor %} |
</div> |
{%- if filterFields|length > 0 %} |
{%- if filter %} |
{%- set params = {"totalhits": data.hits, "totalbandwidth": data.bandwidth, "field": {"name": None}} %} |
@@ -142,17 +142,17 @@ |
filtered_url=filtered_urls.get(field.name, {}).get("true", None))}} |
{%- endfor %} |
{{row("Total", {"hits": params.totalhits, "bandwidth": params.totalbandwidth}, params, special=True, emph=True, chart=False)}} |
</table> |
</div> |
{%- endif %} |
{%- for field in fields %} |
- {%- if not field.filter and field.name in data %} |
+ {%- if not field.filter and not field.hidden and field.name in data %} |
{%- set items = data[field.name]|sortfield(field) %} |
{%- set params = {"maxhits": items|maxhits, "maxbandwidth": items|maxbandwidth, |
"totalhits": items|sumhits, "totalbandwidth": items|sumbandwidth, |
"field": field} %} |
{%- set count = items|length %} |
<div id="{{field.name}}" class="block_title">{{field.title}}</div> |
<div class="block"> |
<table align="center"> |