Browse Source

Show theme switcher in footer for logged-in users

merge-requests/104/head
dougmellon 5 years ago
committed by Deimos
parent
commit
2e8623c22f
  1. 3
      tildes/tildes/templates/base.jinja2

3
tildes/tildes/templates/base.jinja2

@ -109,8 +109,6 @@
</aside> </aside>
<footer id="site-footer" data-js-hide-sidebar-if-open> <footer id="site-footer" data-js-hide-sidebar-if-open>
{# Show the theme-selection dropdown if the user isn't logged in #}
{% if not request.user %}
<div class="site-footer-theme-selection"> <div class="site-footer-theme-selection">
<label for="theme">Theme:</label> <label for="theme">Theme:</label>
<select class="form-select" name="theme" id="theme" data-js-theme-selector> <select class="form-select" name="theme" id="theme" data-js-theme-selector>
@ -132,7 +130,6 @@
{% endfor %} {% endfor %}
</select> </select>
</div> </div>
{% endif %}
<ul class="site-footer-links"> <ul class="site-footer-links">
<li class="site-footer-link"><a href="https://docs.tildes.net">Docs</a></li> <li class="site-footer-link"><a href="https://docs.tildes.net">Docs</a></li>

Loading…
Cancel
Save