File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 1
1
{% load roles %}
2
2
{% load i18n %}
3
+ {% user_has_role request 'editor' as user_is_editor %}
3
4
< ul class ="menu ">
4
5
< li > < a href ="{% url 'core_dashboard' %} "> {% trans "Dashboard" %}</ a > </ li >
5
- < li > < a href ="{% url 'kanban' %} "> {% trans "Kanban" %}</ a > </ li >
6
+ {% if user_is_editor %}
7
+ < li > < a href ="{% url 'kanban' %} "> {% trans "Kanban" %}</ a > </ li >
8
+ {% endif %}
6
9
{% if not journal_settings.general.disable_journal_submission %}
7
10
< li class ="divider "> </ li >
8
11
< li > < a href ="{% url 'submission_start' %} "> {% trans "Submit" %}</ a > </ li >
9
12
{% endif %}
10
- {% user_has_role request 'editor' as user_is_editor %}
11
13
{% if user_is_editor or request.user.is_staff%}
12
14
< li class ="divider "> </ li >
13
15
< li > < a href ="{% url 'core_manager_index' %} "> {% trans "Manager" %}</ a > </ li >
Original file line number Diff line number Diff line change 168
168
169
169
< ul id ="account " class ="dropdown-content ">
170
170
< li > < a class ="dropdown-item " href ="{% url 'core_dashboard' %} "> {% trans "Dashboard" %}</ a > </ li >
171
+ {% if user_is_editor %}
171
172
< li > < a class ="dropdown-item " href ="{% url 'kanban' %} "> {% trans "Kanban" %}</ a > </ li >
173
+ {% endif %}
172
174
{% if not journal_settings.general.disable_journal_submission %}
173
175
< li > < a class ="dropdown-item " href ="{% url 'submission_start' %} "> {% trans "Submit" %}</ a > </ li > {% endif %}
174
176
{% user_has_role request 'editor' as user_is_editor %}
You can’t perform that action at this time.
0 commit comments