diff --git a/src/backoffice/templates/expense_detail_backoffice.html b/src/backoffice/templates/expense_detail_backoffice.html index b0206c9b..4b4a8165 100644 --- a/src/backoffice/templates/expense_detail_backoffice.html +++ b/src/backoffice/templates/expense_detail_backoffice.html @@ -17,6 +17,9 @@ {% endif %}
+{% if request.user.is_staff %} + Open in Admin +{% endif %} Back to Expense List {% endblock content %} diff --git a/src/backoffice/templates/revenue_detail_backoffice.html b/src/backoffice/templates/revenue_detail_backoffice.html index 32a0413d..95fd2048 100644 --- a/src/backoffice/templates/revenue_detail_backoffice.html +++ b/src/backoffice/templates/revenue_detail_backoffice.html @@ -16,6 +16,9 @@ {% endif %}
+{% if request.user.is_staff %} + Open in Admin +{% endif %} Back to Revenue List {% endblock content %} diff --git a/src/economy/templates/includes/expense_list_panel.html b/src/economy/templates/includes/expense_list_panel.html index dd8f9233..c5050d43 100644 --- a/src/economy/templates/includes/expense_list_panel.html +++ b/src/economy/templates/includes/expense_list_panel.html @@ -49,6 +49,9 @@ {% if request.resolver_match.app_name == "backoffice" %} Details + {% if request.user.is_staff %} + Admin + {% endif %} {% else %} Details Update diff --git a/src/economy/templates/includes/revenue_list_panel.html b/src/economy/templates/includes/revenue_list_panel.html index 59e0715d..9213e479 100644 --- a/src/economy/templates/includes/revenue_list_panel.html +++ b/src/economy/templates/includes/revenue_list_panel.html @@ -25,6 +25,9 @@ {% if request.resolver_match.app_name == "backoffice" %} Details + {% if request.user.is_staff %} + Admin + {% endif %} {% else %} Details Update