Skip to content

Commit

Permalink
Fixes #97, missing admin language in the content languages list
Browse files Browse the repository at this point in the history
  • Loading branch information
flaviocopes committed Aug 25, 2015
1 parent 6aac790 commit 0603072
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion themes/grav/templates/pages.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@
</button>
<ul class="dropdown-menu lang-switcher">
{% for language in context.untranslatedLanguages %}
{% if language != page_lang and language != admin_lang %}
{% if language != page_lang %}
<li><button class="button task" name="task" value="saveas" lang="{{language}}" form="blueprints">{{ "PLUGIN_ADMIN.SAVE_AS"|tu }} {{ admin.siteLanguages[language]|capitalize }}</button>
{% endif %}
{% endfor %}
Expand Down

0 comments on commit 0603072

Please sign in to comment.