Skip to content

Commit

Permalink
Footer show current locale
Browse files Browse the repository at this point in the history
  • Loading branch information
Guo Yunhe committed Jul 1, 2017
1 parent bd3d410 commit 66ba76f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/views/layouts/_footer.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@
© 2011–2017 openSUSE contributors.
</div>
<div class="col-md-6 text-right">
Change language
Language
<div class="dropup dropup_language-menu d-inline-block">
<button class="btn btn-sm btn-secondary dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="false" aria-expanded="false">
<span class="selected-language">English</span>
<button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="false" aria-expanded="false">
<span class="selected-language"><%= LANGUAGE_NAMES[FastGettext.locale] %></span>
<span class="caret"></span>
</button>
<ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownMenu1">
Expand Down

0 comments on commit 66ba76f

Please sign in to comment.