Display username in header

This commit is contained in:
Mateusz Makowski
2020-02-23 13:23:25 +01:00
committed by syeopite
parent 00425670d7
commit 90c907710c
32 changed files with 72 additions and 0 deletions

View File

@@ -175,6 +175,12 @@
</select>
<% end %>
</div>
<% if env.get? "user" %>
<div class="pure-control-group">
<label for="show_nick"><%= translate(locale, "Show nickname on top: ") %></label>
<input name="show_nick" id="show_nick" type="checkbox" <% if preferences.show_nick %>checked<% end %>>
</div>
<% end %>
<legend><%= translate(locale, "Miscellaneous preferences") %></legend>