Fix title

This commit is contained in:
Lars Eggert 2023-06-01 11:31:46 +03:00
parent 27f9e6aadb
commit e6f47a0474
No known key found for this signature in database
GPG key ID: 54B5C309BF70C157
2 changed files with 2 additions and 3 deletions

View file

@ -238,9 +238,7 @@ href="{% url 'ietf.doc.views_draft.review_possibly_replaces' name=doc.name %}">E
{% endif %}
{% if document_html %}
{% if doc.stream.name|lower in 'iab,ietf,irtf' %}
<div title="{{ stream_desc }}">
{% include "logo.html" with org=doc.stream.name|lower classes="w-25 mt-1" only %}
</div>
{% include "logo.html" with org=doc.stream.name|lower classes="w-25 mt-1" title=stream_desc only %}
{% else %}
{{ stream_desc }}
{% endif %}

View file

@ -7,5 +7,6 @@
media="(prefers-color-scheme: dark)">
<img alt="{{ org|upper }} Logo"
{% if classes %}class="{{ classes }}"{% endif %}
{% if title %}title="{{ title }}"{% endif %}
src="{% static 'ietf/images/'|add:org|add:'-logo.svg' %}">
</picture>