Commit c9a0f4d8 by Kálmán Viktor

dashboard: capfirst + truncate too long description

parent 2e0fcd96
......@@ -7,7 +7,7 @@
<span class="operation operation-{{op.op}} btn btn-default disabled btn-xs">
{% else %}
<a href="{{op.get_url}}" class="operation operation-{{op.op}} btn
btn-{{op.effect}} btn-xs" title="{{}}: {{op.description}}">
btn-{{op.effect}} btn-xs" title="{{|capfirst}}: {{op.description|truncatewords:20}}">
{% endif %}
<i class="fa fa-{{op.icon}}"></i>
<span{% if not op.is_preferred %} class="sr-only"{% endif %}>{{}}</span>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment