metric: 100 is a bit much, 75 looks better.
This commit is contained in:
@@ -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…"|format(name[:75])|safe if name|length > 75%}
|
||||||
{% set name = "%s…"|format(name[:100])|safe %}
|
|
||||||
{% endif %}
|
|
||||||
<small>{{name}}</small>
|
<small>{{name}}</small>
|
||||||
</h1>
|
</h1>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user