mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 02:42:26 -05:00
Merge pull request #401 from alphagov/hello-you
Indicate which user is you on manage team
This commit is contained in:
@@ -128,3 +128,7 @@ a[rel="external"] {
|
||||
@include external-link-19;
|
||||
}
|
||||
}
|
||||
|
||||
.hint {
|
||||
color: $secondary-text-colour;
|
||||
}
|
||||
|
||||
@@ -34,6 +34,9 @@ Manage users – GOV.UK Notify
|
||||
) %}
|
||||
{% call field() %}
|
||||
{{ item.name }}
|
||||
{%- if item.email_address == current_user.email_address -%}
|
||||
 <span class="hint">(you)</span>
|
||||
{% endif %}
|
||||
{% endcall %}
|
||||
{{ boolean_field(item.has_permissions(permissions=['send_texts', 'send_emails', 'send_letters'])) }}
|
||||
{{ boolean_field(item.has_permissions(permissions=['manage_users', 'manage_templates', 'manage_settings'])) }}
|
||||
|
||||
Reference in New Issue
Block a user