Update styles and markup for badges and ticket events

Updated the SCSS for badge components, including the introduction of a margin and specific font-weight for user-group badges. Additionally, changes have been made to the TicketApp store to comment out a specific condition. A few updates were made to the twig files in the ChillTicketBundle and ChillMainBundle to reflect these style changes.
This commit is contained in:
2024-06-03 11:13:49 +02:00
parent ac4e2e5bf2
commit 643028ffd6
4 changed files with 14 additions and 4 deletions

View File

@@ -47,10 +47,11 @@ export const moduleTicket: Module<State, RootState> = {
if (!result[datetime]) {
result[datetime] = [];
}
/*
if (item.event_type === "add_addressee") {
result[datetime].push(item);
}
*/
return result;
},
{} as any

View File

@@ -66,9 +66,11 @@
<div class="wl-col list">
{% for d in ticket.currentAddressee %}
{% if d.isUser is defined and d.isUser %}
{{ d|chill_entity_render_box }}
<span class="badge-user">
{{ d|chill_entity_render_box }}
</span>
{% elseif d.isUserGroup is defined and d.isUserGroup %}
{{ d|chill_entity_render_box }}
{{ d|chill_entity_render_box() }}
{% endif %}
{% endfor %}
</div>