Skip to content

Commit

Permalink
Merge pull request #1452 from Prakhar-Shankar/language-div
Browse files Browse the repository at this point in the history
Fixed the  language-div
  • Loading branch information
DonnieBLT committed Oct 6, 2023
2 parents c3a6055 + 79797f5 commit e4ff9a5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
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 %}

0 comments on commit e4ff9a5

Please sign in to comment.