Browse Source

Fix bug for showing login/logout

pull/10/head
Hironsan 6 years ago
parent
commit
a5fb8a0531
2 changed files with 1 additions and 1 deletions
  1. BIN
      doccano/app/db.sqlite3
  2. 2
      doccano/app/server/templates/base.html

BIN
doccano/app/db.sqlite3

2
doccano/app/server/templates/base.html

@ -41,7 +41,7 @@
<div class="navbar-item"> <div class="navbar-item">
<div class="field is-grouped"> <div class="field is-grouped">
<p class="control"> <p class="control">
{% if use.is_authenticated %}
{% if not user.is_authenticated %}
<a class="button is-small is-primary is-outlined" href="{% url 'login' %}"> <a class="button is-small is-primary is-outlined" href="{% url 'login' %}">
<span class="icon"> <span class="icon">
<i class="fa fa-user"></i> <i class="fa fa-user"></i>

Loading…
Cancel
Save