-
-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #455 from creativecommons/page-title-clarification
App: improve clarity of legal tool title
- Loading branch information
Showing
4 changed files
with
41 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,22 @@ | ||
{% load i18n %} | ||
<span class="tool-icons"> | ||
{% for code in tool.logos %} | ||
<span class="cc-icon"> | ||
<svg viewBox="0 0 30 30"> | ||
<use href="/wp-content/themes/vocabulary-theme/vocabulary/svg/cc/icons/cc-icons.svg#{{ code }}"></use> | ||
</svg> | ||
<h1>{{ tool_title }}</h1> | ||
<span class="alt-titles"> | ||
<span class="tool-icons"> | ||
{% for code in tool.logos %} | ||
<span class="cc-icon"> | ||
<svg viewBox="0 0 30 30"> | ||
<use href="/wp-content/themes/vocabulary-theme/vocabulary/svg/cc/icons/cc-icons.svg#{{ code }}"></use> | ||
</svg> | ||
</span> | ||
{% endfor %} | ||
</span> | ||
{% endfor %} | ||
<span class="tool-identifier">{{ tool.identifier }}</span> | ||
</span> | ||
<h1> | ||
<h2> | ||
{% if document_type == "deed" %} | ||
{{ tool.identifier }} {% trans "Deed" %} | ||
{% trans "Deed" %} | ||
{% else %} | ||
{{ tool.identifier }} {% trans "Legal Code" %} | ||
{% trans "Legal Code" %} | ||
{% endif %} | ||
</h1> | ||
<h2>{{ tool_title }}</h2> | ||
</h2> | ||
{# vim: ft=jinja.html ts=2 sw=2 sts=2 sr et #} |