choose the proper name for every tile
">
<img src="{{ resource.partner.logos.logo.url }}" class="img-responsive partner-logo" title="
{% if resource.valid_authorization_with_access_url %}
+ {% if resource.stream %}
{% comment %} Translators: Title for logo in tiles that are linked to an external website. Don't translate {{ name }}. {% endcomment %}
- {% blocktrans trimmed with resource.partner as name %}
- External link to {{ name }}'s website
+ {% blocktrans trimmed with name=resource.stream %}
+ Link to {{ name }}'s external website
+ {% endblocktrans %}
+ {% else %}
+ {% comment %} Translators: Title for logo in tiles that are linked to an external website. Don't translate {{ name }}. {% endcomment %}
+ {% blocktrans trimmed with name=resource.partner %}
+ Link to {{ name }}'s external website
{% endblocktrans %}
+ {% endif %}
{% else %}
+ {% if resource.stream %}
{% comment %} Translators: Title for logo in tiles that are linked to partner description page. Don't translate {{ name }}. {% endcomment %}
- {% blocktrans trimmed with resource.partner as name %}
+ {% blocktrans trimmed with name=resource.stream %}
Link to {{ name }} signup page
{% endblocktrans %}
+ {% else %}
+ {% comment %} Translators: Title for logo in tiles that are linked to partner description page. Don't translate {{ name }}. {% endcomment %}
+ {% blocktrans trimmed with name=resource.partner %}
+ Link to {{ name }} signup page
+ {% endblocktrans %}
+ {% endif %}
{% endif %}
"
alt="
{% if resource.valid_authorization_with_access_url %}
+ {% if resource.stream %}
{% comment %} Translators: Alt text for publisher logos on the my library page. Don't translate {{ name }}. {% endcomment %}
- {% blocktrans trimmed with resource.partner as name %}
+ {% blocktrans trimmed with name=resource.stream %}
Link to {{ name }}'s external website
{% endblocktrans %}
{% else %}
{% comment %} Translators: Alt text for publisher logos on the my library page. Don't translate {{ name }}. {% endcomment %}
- {% blocktrans trimmed with resource.partner as name %}
+ {% blocktrans trimmed with name=resource.partner %}
+ Link to {{ name }}'s external website
+ {% endblocktrans %}
+ {% endif %}
+ {% else %}
+ {% if resource.stream %}
+ {% comment %} Translators: Alt text for publisher logos on the my library page. Don't translate {{ name }}. {% endcomment %}
+ {% blocktrans trimmed with name=resource.stream %}
Link to {{ name }} signup page
{% endblocktrans %}
+ {% else %}
+ {% comment %} Translators: Alt text for publisher logos on the my library page. Don't translate {{ name }}. {% endcomment %}
+ {% blocktrans trimmed with name=resource.partner %}
+ Link to {{ name }} signup page
+ {% endblocktrans %}
+ {% endif %}
{% endif %}
">
</a>
