1. Flo Ledermann
  2. openresources

Commits

Flo Ledermann  committed e6c5d07 Draft

better title for view pages

  • Participants
  • Parent commits 43f07ef
  • Branches default

Comments (0)

Files changed (1)

File openresources/templates/openresources/view_base.html

View file
 {% extends "openresources/base.html" %}
 {% load i18n url_optional %}
 
-{% block title %}{% trans "View" %}: {{ view.name }}{% endblock %}
+{% block title %}{{ view.name }}, {% if area %}{{ area.name }}{% else %}{% trans "Everywhere" %}{% endif %}{% endblock %}
 
 {% block body_class %}{{ block.super }} view-page{% endblock %}
 
 </ul>
 </div>
 <p>
-{{ view.description }}
+{{ view.description|linebreaksbr }}
 </p>
 <div class="toggle off toggle-plus">Details</div>
 <div class="details-wrapper">