From 0bf457de50f47782d0adccea4019b731f10ecc29 Mon Sep 17 00:00:00 2001 From: klmp200 Date: Sat, 11 Mar 2017 11:57:20 +0100 Subject: [PATCH] Hiding some already forbidden stuff --- accounting/templates/accounting/co_list.jinja | 2 ++ 1 file changed, 2 insertions(+) diff --git a/accounting/templates/accounting/co_list.jinja b/accounting/templates/accounting/co_list.jinja index 0cfbca70..e40ee2d8 100644 --- a/accounting/templates/accounting/co_list.jinja +++ b/accounting/templates/accounting/co_list.jinja @@ -5,7 +5,9 @@ {% endblock %} {% block content %} +{% if user.is_in_group(settings.SITH_GROUP_ACCOUNTING_ADMIN_ID) or user.is_root %}

{% trans %}Create new company{% endtrans %}

+{% endif %}