Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed the language-div #1452

Merged
merged 2 commits into from
Oct 6, 2023
Merged
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
4 changes: 3 additions & 1 deletion website/templates/includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,14 +68,16 @@
<input name="next" type="hidden" value="{{ redirect_to }}" />
<input name="language" id="footerLanguage" type="hidden" value=""/>

<li class="dropup list-none">

<li class="dropup list-none mr-16">
{% get_current_language as LANGUAGE_CODE %}
{% get_available_languages as LANGUAGES %}

<a class="dropdown-toggle flex gap-1" data-toggle="dropdown" href="#">
<div class="flag-{{ LANGUAGE_CODE }} w-8 rounded h-6"></div>
<i class="fa fa-caret-down"></i>
</a>

<ul class="bg-gray-900 dropdown-menu">
{% for lang_code, lang_name in LANGUAGES %}
{% if lang_code != LANGUAGE_CODE %}
Expand Down
3 changes: 2 additions & 1 deletion website/templates/scoreboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -105,4 +105,5 @@ <h2 class="page-header">Company Scoreboard</h2>
</div>
{% endif %}
</div>
{% endblock %}
{% endblock %}

Loading