Merge branch 'Kerl/urls_fixes' into 'master'

Lien de déconnexion & typo

See merge request klub-dev-ens/WikiENS!5
This commit is contained in:
Ludovic Stephan 2019-09-26 18:14:43 +02:00
commit fa2e1279c4
2 changed files with 5 additions and 1 deletions

View file

@ -176,6 +176,8 @@ ACCOUNT_USER_DISPLAY = lambda u: u.get_full_name() or u.username
# WIKI SETTINGS
LOGOUT_URL = reverse_lazy("account_logout")
# Use sign up, login, logout, profile settings views of allauth.
WIKI_ACCOUNT_HANDLING = False

View file

@ -5,7 +5,9 @@
{% block wiki_site_title %} - WikiENS{% endblock %}
{% block wiki_header_branding %}
<a id="navbar-title" class="navbar-brand" href="/">Wiki&nbsp;<img src="{% static 'img/logoENS-small.png' %}" style="display:inline-block; height:100%;"i />&nbsp;ENS</a>
<a id="navbar-title" class="navbar-brand" href="/">
Wiki&nbsp;<img src="{% static 'img/logoENS-small.png' %}" style="display:inline-block; height:100%;" />&nbsp;ENS
</a>
{% endblock %}
{% block wiki_header_navlinks %}