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