Browse Source

Merge pull request #160 from CatalystCode/bugfix/fix-demo-pages-for-superuser

Bugfix/Fix NoReverseMatch on demo page for superuser
pull/161/head
Hiroki Nakayama 5 years ago
committed by GitHub
parent
commit
e652289367
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. 2
      app/server/templates/annotation/annotation_base.html

2
app/server/templates/annotation/annotation_base.html

@ -4,7 +4,7 @@
<link rel="stylesheet" href="{% static 'css/annotation.css' %}">
{% endblock %}
{% block navigation %}
{% if user.is_superuser %}
{% if user.is_superuser and 'project_id' in view.kwargs %}
<a class="navbar-item" href="{% url 'dataset' view.kwargs.project_id %}">
<span class="icon">
<i class="fas fa-edit"></i>

Loading…
Cancel
Save