From 433307020a94a2114b8f265198268f9e0919f59f Mon Sep 17 00:00:00 2001 From: Mathieu Jaumotte Date: Wed, 29 Dec 2021 10:48:40 +0100 Subject: [PATCH] add a new button to send notifications --- .../ChillMainBundle/Resources/public/chill/scss/buttons.scss | 3 +++ .../Resources/views/AccompanyingCourse/index.html.twig | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Bundle/ChillMainBundle/Resources/public/chill/scss/buttons.scss b/src/Bundle/ChillMainBundle/Resources/public/chill/scss/buttons.scss index 14c22685b..86e2f2299 100644 --- a/src/Bundle/ChillMainBundle/Resources/public/chill/scss/buttons.scss +++ b/src/Bundle/ChillMainBundle/Resources/public/chill/scss/buttons.scss @@ -20,6 +20,7 @@ $chill-theme-buttons: ( "misc": $gray-300, "cancel": $gray-300, "choose": $gray-300, + "notify": $gray-300, "unlink": $chill-red, ); @@ -73,6 +74,7 @@ $chill-theme-buttons: ( &.btn-delete::before, &.btn-remove::before, &.btn-choose::before, + &.btn-notify::before, &.btn-cancel::before { font: normal normal normal 14px/1 ForkAwesome; margin-right: 0.5em; @@ -98,6 +100,7 @@ $chill-theme-buttons: ( &.btn-cancel::before { content: "\f060"; } // fa-arrow-left &.btn-choose::before { content: "\f00c"; } // fa-check // f046 fa-check-square-o &.btn-unlink::before { content: "\f127"; } // fa-chain-broken + &.btn-notify::before { content: "\f1d8"; } // fa-paper-plane } diff --git a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/index.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/index.html.twig index 2ced8f611..6b143469b 100644 --- a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/index.html.twig +++ b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/index.html.twig @@ -109,7 +109,7 @@ {% endif %}
- {{ 'notification.Notify'|trans }} + {{ 'notification.Notify'|trans }}
{% if accompanyingCourse.requestorPerson is not null or accompanyingCourse.requestorThirdParty is not null %}