From 930a42c2c79fdeedb7ad297c19f97816eb8d7244 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-S=C3=A9bastien=20Caux?= <git@jscaux.org> Date: Fri, 18 Feb 2022 21:46:14 +0100 Subject: [PATCH] Purge comments in portal navbar --- .../scipost/templates/scipost/navbar.html | 29 ------------------- 1 file changed, 29 deletions(-) diff --git a/scipost_django/scipost/templates/scipost/navbar.html b/scipost_django/scipost/templates/scipost/navbar.html index c21604b37..a6044acbe 100644 --- a/scipost_django/scipost/templates/scipost/navbar.html +++ b/scipost_django/scipost/templates/scipost/navbar.html @@ -146,35 +146,6 @@ </ul> </li> - <!-- - <li class="nav-item" role="presentation"> - {% if request.path == '/portal' %} - <button class="nav-link{% if request.GET.tab == 'reports' %} active{% endif %}" - id="reports-tab" - data-bs-toggle="tab" data-bs-target="#reports" - type="button" role="tab" - aria-controls="reports" aria-selected="true"> - Reports - </button> - {% else %} - <a href="{% url 'scipost:portal' %}?tab=reports">Reports</a> - {% endif %} - </li> - - <li class="nav-item" role="presentation"> - {% if request.path == '/portal' %} - <button class="nav-link{% if request.GET.tab == 'comments' %} active{% endif %}" - id="comments-tab" - data-bs-toggle="tab" data-bs-target="#comments" - type="button" role="tab" - aria-controls="comments" aria-selected="true"> - Comments - </button> - {% else %} - <a href="{% url 'scipost:portal' %}?tab=comments">Comments</a> - {% endif %} - </li> --> - <li class="nav-item" role="presentation"> <a class="btn btn-outline-success border-2 border-success ms-2" href="{% url 'submissions:submit_manuscript' %}"> -- GitLab