From 4f8b77e2c3f10d794821a4e98694c51459450f47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-S=C3=A9bastien=20Caux?= <git@jscaux.org> Date: Fri, 22 Mar 2024 15:17:36 +0100 Subject: [PATCH] Tweak Support info tab --- .../templates/organizations/_organization_card.html | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/scipost_django/organizations/templates/organizations/_organization_card.html b/scipost_django/organizations/templates/organizations/_organization_card.html index 08907217d..ba551d42c 100644 --- a/scipost_django/organizations/templates/organizations/_organization_card.html +++ b/scipost_django/organizations/templates/organizations/_organization_card.html @@ -27,11 +27,7 @@ href="#publications-{{ org.id }}" role="tab" aria-controls="publications-{{ org.id }}" - aria-selected="true">Publications - - {% if perms.scipost.can_manage_organizations %}& PubFracs{% endif %} - - </a> + aria-selected="true">Publications{% if perms.scipost.can_manage_organizations %} & PubFracs{% endif %}</a> </li> <li class="nav-item"> <a class="nav-link" @@ -580,7 +576,7 @@ </p> <p> - You can see the list of associated publications and their PubFracs under the <em>Publications & PubFracs</em> tab. + You can see the list of associated publications {% if 'finadmin' in user_roles %}and their PubFracs{% endif %} under the <em>Publications</em> tab. </p> <table class="table caption-top mb-0"> -- GitLab