Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion core/templates/home/scieloorg/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
{% get_language_info for translation.locale.language_code as lang %}
<li>
<a href="{% pageurl translation %}" rel="alternate" hreflang="{{ language_code }}">
{{ lang.name_local }}
{{ lang.name_local|capfirst }}
</a>
</li>
{% endfor %}
Expand Down
6 changes: 3 additions & 3 deletions journalpage/templates/journalpage/includes/language.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@
<span class="d-lg-none">{{request.LANGUAGE_CODE|upper}}</span>
<span class="d-none d-lg-block">
{% get_language_info for LANGUAGE_CODE as lang %}
{{ lang.name_local }}
{{ lang.name_local|capfirst }}
</span>
</button>
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="btnGroupDrop1">
<!-- Exibe o idioma original -->
{% get_language_info for page.locale.language_code as lang %}
<li>
<a class="dropdown-item {% if page.locale.language_code == request.LANGUAGE_CODE %}active{% endif %}" href="{% routablepageurl page 'bibliographic' acron_collection acron_journal %}" lang="{{ lang.code }}">
{{ lang.name_local }}
{{ lang.name_local|capfirst }}
</a>
</li>

Expand All @@ -29,7 +29,7 @@
{% get_language_info for translation.locale.language_code as lang %}
<li>
<a class="dropdown-item {% if translation.locale.language_code == request.LANGUAGE_CODE %}active{% endif %}" href="{% routablepageurl translation 'bibliographic' acron_collection acron_journal %}" lang="{{ lang.code }}">
{{ lang.name_local }}
{{ lang.name_local|capfirst }}
</a>
</li>
{% endfor %}
Expand Down