From 0a93752af4c472b52d858726b7df1d3aa1c2ae87 Mon Sep 17 00:00:00 2001 From: Tom Byers Date: Fri, 28 Aug 2020 19:58:10 +0100 Subject: [PATCH] Fix organisation team members page Includes removal of a redundant import. --- .../organisation/users/index.html | 45 ++++++++++--------- 1 file changed, 23 insertions(+), 22 deletions(-) diff --git a/app/templates/views/organisations/organisation/users/index.html b/app/templates/views/organisations/organisation/users/index.html index 7adb139f9..543bf1b6e 100644 --- a/app/templates/views/organisations/organisation/users/index.html +++ b/app/templates/views/organisations/organisation/users/index.html @@ -1,7 +1,6 @@ {% extends "org_template.html" %} {% from "components/table.html" import list_table, row, field, hidden_field_heading %} {% from "components/page-footer.html" import page_footer %} -{% from "components/tick-cross.html" import tick_cross %} {% from "components/textbox.html" import textbox %} {% from "components/live-search.html" import live_search %} {% from "components/button/macro.njk" import govukButton %} @@ -25,29 +24,31 @@
{% for user in users %}
-

- {%- if user.name -%} - {{ user.name }}  - {%- endif -%} - - {%- if user.status == 'pending' -%} - {{ user.email_address }} (invited) - {%- elif user.status == 'cancelled' -%} - {{ user.email_address }} (cancelled invite) - {%- elif user.id == current_user.id -%} - (you) - {% else %} - {{ user.email_address }} - {% endif %} - -

-
    - -
+
+
{% endfor %}