Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: shinken-monitoring/mod-webui
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 723d3529793711179fc792b131b935531d253ab8
Choose a base ref
..
head repository: shinken-monitoring/mod-webui
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: fe47d22ea3f994d5892301f2829e8879d7e27112
Choose a head ref
Showing with 3 additions and 5 deletions.
  1. +3 −5 module/plugins/contacts/views/contacts.tpl
8 changes: 3 additions & 5 deletions module/plugins/contacts/views/contacts.tpl
Original file line number Diff line number Diff line change
@@ -29,14 +29,12 @@
%for contact in contacts:
<tr>
<td>
{{ !helper.get_contact_avatar(contact) }}
%if contact.is_admin:
<i class="fa fa-fw font-black fa-eye" title="This user is an administrator"></i>
<i class="fa font-warning fa-star" title="This user is an administrator"></i>
%elif app.can_action(contact.contact_name):
<i class="fa fa-fw font-black fa-bullhorn" title="This user is allowed to launch commands"></i>
%else:
<i class="fa fa-fw font-black fa-" title="This user is allowed to launch commands"></i>
<i class="fa font-ok fa-star" title="This user is allowed to launch commands"></i>
%end
{{ !helper.get_contact_avatar(contact) }}
</td>
<td><strong>{{ contact.alias if contact.alias != "none" else "" }}</strong></td>
<td><strong>{{ contact.min_business_impact }}</strong></td>