Reintegrate basic lexicon pages and joining #16

Merged
Jaculabilis merged 3 commits from tvb/lexicon-pages into develop 2021-08-14 15:22:24 +00:00
1 changed files with 4 additions and 1 deletions
Showing only changes of commit 34f750a7c7 - Show all commits

View File

@ -26,7 +26,10 @@
{% else %}href="{{ url_for('lexicon.stats', name=g.lexicon.name) }}" {% else %}href="{{ url_for('lexicon.stats', name=g.lexicon.name) }}"
{% endif %}>Statistics</a>{% endblock %} {% endif %}>Statistics</a>{% endblock %}
{% if current_user.is_authenticated and memq.try_from_ids(g.db, current_user.id, g.lexicon.id) %} {% if current_user.is_authenticated and (
current_user.is_site_admin
or memq.try_from_ids(g.db, current_user.id, g.lexicon.id)
) %}
{# self.sb_logo(), #} {# self.sb_logo(), #}
{% set template_sidebar_rows = [ {% set template_sidebar_rows = [
self.sb_home(), self.sb_home(),