Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

💄 - Change contacts list active icon. #377

Merged
merged 1 commit into from
Dec 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/open_inwoner/scss/components/Icon/Icon.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,8 @@
&--disabled {
color: var(--color-gray-light);
}

&--danger {
color: var(--color-danger);
}
}
8 changes: 4 additions & 4 deletions src/open_inwoner/templates/pages/profile/contacts/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ <h2 class="h2">{% trans "U bent toegevoegd als contactpersoon" %}</h2>
</div>
{% endwith %}
{% else %}
<ul class="approval__list">
<ul class="approval__list">
{% for approval in pending_approvals %}
<li class="approval__list-item">
<p class="p">{{approval.get_full_name}}</p>
Expand Down Expand Up @@ -80,7 +80,7 @@ <h2 class="h2">{% trans "U bent toegevoegd als contactpersoon" %}</h2>
<td class="table__item"></td>
<td class="table__item">{{invite.invitee_email}}</td>
<td class="table__item"></td>
<td class="table__item">{% icon "check" extra_classes="icon icon--disabled" %}</td>
<td class="table__item">{% icon "close" extra_classes="icon icon--danger" %}</td>
<td class="table__item">{% button text=_('Stuur bericht') icon="message" icon_position="before" icon_outlined=True transparent=True disabled=True %}</td>
<td class="table__item">{% button icon="settings" icon_position="before" text="" hide_text=True transparent=True disabled=True %}<td>
</tr>
Expand All @@ -93,7 +93,7 @@ <h2 class="h2">{% trans "U bent toegevoegd als contactpersoon" %}</h2>
<td class="table__item"></td>
<td class="table__item">{{contact.email}}</td>
<td class="table__item"></td>
<td class="table__item">{% icon "check" extra_classes="icon icon--disabled" %}</td>
<td class="table__item">{% icon "close" extra_classes="icon icon--danger" %}</td>
<td class="table__item">{% button text=_('Stuur bericht') icon="message" icon_position="before" icon_outlined=True transparent=True disabled=True %}</td>
<td class="table__item">{% button icon="settings" icon_position="before" text="" hide_text=True transparent=True disabled=True %}<td>
</tr>
Expand All @@ -106,7 +106,7 @@ <h2 class="h2">{% trans "U bent toegevoegd als contactpersoon" %}</h2>
<td class="table__item">{% if contact.contact_type == "contact" %}Contactpersoon{% elif contact.contact_type == "begeleider" %}Begeleider{% elif contact.contact_type == "organization" %}Organisatie{% endif %}</td>
<td class="table__item">{{ contact.get_contact_email|default:"" }}</td>
<td class="table__item">{{ contact.phonenumber }}</td>
<td class="table__item">{% if contact.is_not_active %}{% icon "check" extra_classes="icon icon--disabled" %}{% else %}{% icon "check" %}{% endif %}</td>
<td class="table__item">{% if contact.is_not_active %}{% icon "close" extra_classes="icon icon--danger" %}{% else %}{% icon "check" %}{% endif %}</td>
<td class="table__item">{% button text=_('Stuur bericht') icon="message" icon_position="before" href=contact.get_contact_message_url icon_outlined=True transparent=True disabled=contact.is_not_active %}</td>
<td class="table__item">
{% dropdown icon="settings" disabled=contact.is_not_active %}
Expand Down