metric: 100 is a bit much, 75 looks better.

This commit is contained in:
Daniele Sluijters
2013-11-05 14:20:03 +01:00
parent 3efdb58ce3
commit 0563224c87

View File

@@ -2,9 +2,7 @@
{% block content %} {% block content %}
<div class="page-header"> <div class="page-header">
<h1>Metric <h1>Metric
{% if name|length > 100 %} {% set name = "%s&hellip;"|format(name[:75])|safe if name|length > 75%}
{% set name = "%s&hellip;"|format(name[:100])|safe %}
{% endif %}
<small>{{name}}</small> <small>{{name}}</small>
</h1> </h1>
</div> </div>