Files
mayan-edms/mayan/apps/appearance/templates/appearance/calculate_form_title.html
T
Roberto Rosario 727d2ecd71 Convert the title calculation into a template tag
Convert the calculate form title template into a template tag.
The result of the template tag is applied as the title property
of the <H3> HTML tag allowing users to view the full title on
mouse hover if the title was truncated.

Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com>
2018-12-16 01:09:32 -04:00

18 lines
316 B
HTML

{% load i18n %}
{% load common_tags %}
{% common_calculate_title as form_title %}
{% if not non_html_title %}
<h3 title='{{ form_title }}'>
{% endif %}
{{ form_title }}
{% if not non_html_title %}
</h3>
{% if subtitle %}
<small>{{ subtitle }}</small>
{% endif %}
<hr/>
{% endif %}