From 2e2eeae4f2ff799f45b15df4b8eea32a0c6d83a1 Mon Sep 17 00:00:00 2001
From: Mathieu Jaumotte
Date: Mon, 5 Jul 2021 18:53:03 +0200
Subject: [PATCH 01/10] chill colors and buttons with bootstrap5
---
.../public/modules/bootstrap/_custom.scss | 15 +-
.../modules/bootstrap/custom/_buttons.scss | 42 +++++
.../modules/bootstrap/custom/_variables.scss | 168 ++++++++++--------
3 files changed, 141 insertions(+), 84 deletions(-)
create mode 100644 src/Bundle/ChillMainBundle/Resources/public/modules/bootstrap/custom/_buttons.scss
diff --git a/src/Bundle/ChillMainBundle/Resources/public/modules/bootstrap/_custom.scss b/src/Bundle/ChillMainBundle/Resources/public/modules/bootstrap/_custom.scss
index 378597a61..51b84bf4e 100644
--- a/src/Bundle/ChillMainBundle/Resources/public/modules/bootstrap/_custom.scss
+++ b/src/Bundle/ChillMainBundle/Resources/public/modules/bootstrap/_custom.scss
@@ -2,19 +2,14 @@
* These custom styles will override bootstrap enabled stylesheets
*/
+/// chill buttons
+@import 'custom/_buttons';
+
/// titles
h1, h2, .h1, .h2 {
font-weight: $headings-font-weight + 200;
}
-/// buttons
-.btn-success,
-.btn-success:hover,
-.btn-warning,
-.btn-warning:hover {
- color: $gray-100;
-}
-
/// typography
.open_sansbold {
font-weight: bold;
@@ -236,11 +231,11 @@ div.vertical-menu {
border-radius: 0;
margin-top: 0.5rem;
a.list-group-item {
- background-color: $info;
+ background-color: $chill-yellow;
border: 0;
margin-bottom: 0.25rem;
&:hover {
- background-color: shade-color($info, 5%)
+ background-color: tint-color($chill-yellow, 20%)
}
}
}
diff --git a/src/Bundle/ChillMainBundle/Resources/public/modules/bootstrap/custom/_buttons.scss b/src/Bundle/ChillMainBundle/Resources/public/modules/bootstrap/custom/_buttons.scss
new file mode 100644
index 000000000..e8a767ffa
--- /dev/null
+++ b/src/Bundle/ChillMainBundle/Resources/public/modules/bootstrap/custom/_buttons.scss
@@ -0,0 +1,42 @@
+
+/// buttons
+
+
+.btn-success,
+.btn-success:hover,
+.btn-warning,
+.btn-warning:hover {
+ color: $light;
+}
+
+.btn {
+ &.btn-submit,
+ &.btn-save,
+ &.btn-create,
+ &.btn-new,
+ &.btn-duplicate,
+ &.btn-not-duplicate {
+ background-color: $chill-green;
+ color: $light;
+ }
+
+ &.btn-reset,
+ &.btn-delete,
+ &.btn-remove {
+ background-color: $chill-red;
+ color: $light;
+ }
+
+ &.btn-action,
+ &.btn-edit,
+ &.btn-update {
+ background-color: $chill-orange;
+ color: $light;
+ }
+
+ &.btn-show,
+ &.btn-view {
+ background-color: $chill-blue;
+ color: $light;
+ }
+}
diff --git a/src/Bundle/ChillMainBundle/Resources/public/modules/bootstrap/custom/_variables.scss b/src/Bundle/ChillMainBundle/Resources/public/modules/bootstrap/custom/_variables.scss
index e6e6e25ad..e08569ff9 100644
--- a/src/Bundle/ChillMainBundle/Resources/public/modules/bootstrap/custom/_variables.scss
+++ b/src/Bundle/ChillMainBundle/Resources/public/modules/bootstrap/custom/_variables.scss
@@ -19,6 +19,21 @@ $gray-900: #212529 !default;
$black: #111 !default;
// scss-docs-end gray-color-variables
+/*
+ * CHILL Theme colors
+ * (apply chill colors, add missing colors, trust in bootstrap grey scale)
+*/
+// scss-docs-start color-variables
+$blue: #334d5c !default;
+$green: #43b29d !default;
+$yellow: #eec84a !default;
+$orange: #e2793d !default;
+$red: #df4949 !default;
+$pink: #dd506d !default;
+$beige: #cabb9f !default;
+// scss-docs-end color-variables
+
+
// fusv-disable
// scss-docs-start gray-colors-map
$grays: (
@@ -35,70 +50,6 @@ $grays: (
// scss-docs-end gray-colors-map
// fusv-enable
-/*
- * CHILL Theme colors
- * (apply chill colors, add missing colors, trust in bootstrap grey scale)
-*/
-// scss-docs-start color-variables
-$blue: #334d5c !default;
-$green: #43b29d !default;
-$yellow: #eec84a !default;
-$orange: #e2793d !default;
-$red: #df4949 !default;
-$pink: #dd506d !default;
-$green-dark: #328474 !default;
-$beige: #cabb9f !default;
-// scss-docs-end color-variables
-
-
-// scss-docs-start colors-map
-$colors: (
- "blue": $blue,
- "green": $green,
- "yellow": $yellow,
- "orange": $orange,
- "red": $red,
- "pink": $pink,
- "green-dark": $green-dark,
- "beige": $beige,
- "white": $white,
- "gray": $gray-600,
- "gray-dark": $gray-800
-) !default;
-// scss-docs-end colors-map
-
-// scss-docs-start theme-color-variables
-$primary: $blue;
-$secondary: $gray-200;
-$success: $green;
-$info: $yellow;
-$warning: $orange;
-$danger: $red;
-$light: $gray-100;
-$dark: $gray-800;
-// scss-docs-end theme-color-variables
-
-// scss-docs-start theme-colors-map
-$theme-colors: (
- "primary": $primary,
- "secondary": $secondary,
- "success": $success,
- "info": $info,
- "warning": $warning,
- "danger": $danger,
- "light": $light,
- "dark": $dark
-) !default;
-// scss-docs-end theme-colors-map
-
-// The contrast ratio to reach against white, to determine if color changes from "light" to "dark". Acceptable values for WCAG 2.0 are 3, 4.5 and 7.
-// See https://www.w3.org/TR/WCAG20/#visual-audio-contrast-contrast
-$min-contrast-ratio: 4.5 !default;
-
-// Customize the light and dark text colors for use in our color contrast function.
-$color-contrast-dark: $black !default;
-$color-contrast-light: $white !default;
-
// fusv-disable
$blue-100: tint-color($blue, 80%) !default;
$blue-200: tint-color($blue, 60%) !default;
@@ -110,16 +61,6 @@ $blue-700: shade-color($blue, 40%) !default;
$blue-800: shade-color($blue, 60%) !default;
$blue-900: shade-color($blue, 80%) !default;
-$green-dark-100: tint-color($green-dark, 80%) !default;
-$green-dark-200: tint-color($green-dark, 60%) !default;
-$green-dark-300: tint-color($green-dark, 40%) !default;
-$green-dark-400: tint-color($green-dark, 20%) !default;
-$green-dark-500: $green-dark !default;
-$green-dark-600: shade-color($green-dark, 20%) !default;
-$green-dark-700: shade-color($green-dark, 40%) !default;
-$green-dark-800: shade-color($green-dark, 60%) !default;
-$green-dark-900: shade-color($green-dark, 80%) !default;
-
$beige-100: tint-color($beige, 80%) !default;
$beige-200: tint-color($beige, 60%) !default;
$beige-300: tint-color($beige, 40%) !default;
@@ -181,6 +122,85 @@ $green-800: shade-color($green, 60%) !default;
$green-900: shade-color($green, 80%) !default;
// fusv-enable
+// scss-docs-start colors-map
+$colors: (
+ "blue": $blue,
+ "green": $green,
+ "yellow": $yellow,
+ "orange": $orange,
+ "red": $red,
+ "pink": $pink,
+ "green-dark": $green-800,
+ "beige": $beige,
+ "white": $white,
+ "gray": $gray-600,
+ "gray-dark": $gray-800
+) !default;
+// scss-docs-end colors-map
+
+// scss-docs-start theme-color-variables
+$primary: $blue;
+$secondary: $gray-200;
+$success: $green;
+$info: $yellow;
+$warning: $orange;
+$danger: $red;
+$light: $gray-100;
+$dark: $gray-800;
+$chill-blue: $blue;
+$chill-green: $green;
+$chill-green-dark: $green-800;
+$chill-orange: $orange;
+$chill-yellow: $yellow;
+$chill-red: $red;
+$chill-beige: $beige;
+$chill-pink: $pink;
+$chill-gray: $gray-600;
+$chill-dark-gray: $gray-800;
+$chill-light-gray: $gray-200;
+$chill-llight-gray: $gray-100;
+// scss-docs-end theme-color-variables
+
+
+// scss-docs-start theme-colors-map
+$theme-colors: (
+ "primary": $primary,
+ "secondary": $secondary,
+ "success": $success,
+ "info": $info,
+ "warning": $warning,
+ "danger": $danger,
+ "light": $light,
+ "dark": $dark,
+) !default;
+// scss-docs-end theme-colors-map
+
+$chill-colors: (
+ "chill-blue": $chill-blue,
+ "chill-green": $chill-green,
+ "chill-green-dark": $chill-green-dark,
+ "chill-orange": $chill-orange,
+ "chill-yellow": $chill-yellow,
+ "chill-red": $chill-red,
+ "chill-beige": $chill-beige,
+ "chill-pink": $chill-pink,
+ "chill-gray": $chill-gray,
+ "chill-dark-gray": $chill-dark-gray,
+ "chill-light-gray": $chill-light-gray,
+ "chill-llight-gray": $chill-llight-gray,
+);
+
+// Merge the maps
+$theme-colors: map-merge($theme-colors, $chill-colors);
+
+// The contrast ratio to reach against white, to determine if color changes from "light" to "dark". Acceptable values for WCAG 2.0 are 3, 4.5 and 7.
+// See https://www.w3.org/TR/WCAG20/#visual-audio-contrast-contrast
+$min-contrast-ratio: 4.5 !default;
+
+// Customize the light and dark text colors for use in our color contrast function.
+$color-contrast-dark: $black !default;
+$color-contrast-light: $white !default;
+
// Characters which are escaped by the escape-svg function
$escaped-characters: (
("<", "%3c"),
From 05a1f7d04162c31f886f35e69ec840446d58d44e Mon Sep 17 00:00:00 2001
From: Mathieu Jaumotte
Date: Mon, 5 Jul 2021 19:02:09 +0200
Subject: [PATCH 02/10] batch rename class sc-button (scratch) by btn
(bootstrap)
---
.../Resources/views/Activity/edit.html.twig | 4 ++--
.../Resources/views/Activity/list.html.twig | 10 ++++-----
.../Resources/views/Activity/new.html.twig | 4 ++--
.../Resources/views/Activity/show.html.twig | 6 ++---
.../views/ActivityPresence/index.html.twig | 4 ++--
.../views/ActivityReason/edit.html.twig | 2 +-
.../views/ActivityReason/index.html.twig | 6 ++---
.../views/ActivityReason/new.html.twig | 4 ++--
.../views/ActivityReason/show.html.twig | 4 ++--
.../ActivityReasonCategory/edit.html.twig | 4 ++--
.../ActivityReasonCategory/index.html.twig | 6 ++---
.../ActivityReasonCategory/new.html.twig | 4 ++--
.../ActivityReasonCategory/show.html.twig | 4 ++--
.../views/ActivityType/index.html.twig | 4 ++--
.../ActivityTypeCategory/index.html.twig | 4 ++--
.../activity_person_context.html.twig | 4 ++--
.../Resources/views/Charge/edit.html.twig | 4 ++--
.../Resources/views/Charge/new.html.twig | 4 ++--
.../Resources/views/Charge/view.html.twig | 4 ++--
.../Resources/views/Element/index.html.twig | 14 ++++++------
.../Resources/views/Resource/edit.html.twig | 4 ++--
.../Resources/views/Resource/new.html.twig | 4 ++--
.../Resources/views/Resource/view.html.twig | 4 ++--
.../views/CustomFieldsGroup/edit.html.twig | 6 ++---
.../views/CustomFieldsGroup/index.html.twig | 4 ++--
.../views/CustomFieldsGroup/new.html.twig | 4 ++--
.../views/CustomFieldsGroup/show.html.twig | 10 ++++-----
.../Resources/views/Form/fields.html.twig | 2 +-
.../DocumentCategory/_delete_form.html.twig | 2 +-
.../views/DocumentCategory/_form.html.twig | 2 +-
.../views/DocumentCategory/edit.html.twig | 4 ++--
.../views/DocumentCategory/index.html.twig | 6 ++---
.../views/DocumentCategory/new.html.twig | 4 ++--
.../views/DocumentCategory/show.html.twig | 4 ++--
.../Resources/views/Macro/macro.html.twig | 2 +-
.../PersonDocument/_delete_form.html.twig | 2 +-
.../views/PersonDocument/edit.html.twig | 4 ++--
.../views/PersonDocument/index.html.twig | 6 ++---
.../views/PersonDocument/new.html.twig | 4 ++--
.../views/PersonDocument/show.html.twig | 4 ++--
.../Resources/views/Event/edit.html.twig | 4 ++--
.../Resources/views/Event/list.html.twig | 4 ++--
.../Resources/views/Event/new.html.twig | 4 ++--
.../views/Event/newPickCenter.html.twig | 2 +-
.../Resources/views/Event/show.html.twig | 18 +++++++--------
.../Resources/views/EventType/edit.html.twig | 4 ++--
.../Resources/views/EventType/index.html.twig | 6 ++---
.../Resources/views/EventType/new.html.twig | 4 ++--
.../Resources/views/EventType/show.html.twig | 6 ++---
.../Participation/edit-multiple.html.twig | 4 ++--
.../views/Participation/edit.html.twig | 4 ++--
.../Participation/new-multiple.html.twig | 2 +-
.../views/Participation/new.html.twig | 2 +-
.../Resources/views/Role/edit.html.twig | 4 ++--
.../Resources/views/Role/index.html.twig | 6 ++---
.../Resources/views/Role/new.html.twig | 4 ++--
.../Resources/views/Role/show.html.twig | 6 ++---
.../Resources/views/Status/edit.html.twig | 4 ++--
.../Resources/views/Status/index.html.twig | 6 ++---
.../Resources/views/Status/new.html.twig | 4 ++--
.../Resources/views/Status/show.html.twig | 6 ++---
.../Timeline/event_person_context.html.twig | 2 +-
.../views/FamilyMember/edit.html.twig | 4 ++--
.../views/FamilyMember/index.html.twig | 8 +++----
.../views/FamilyMember/new.html.twig | 4 ++--
.../views/FamilyMember/view.html.twig | 4 ++--
.../Resources/public/vuejs/Address/App.vue | 4 ++--
.../public/vuejs/_components/AddAddress.vue | 6 ++---
.../public/vuejs/_components/Modal.vue | 2 +-
.../public/vuejs/_components/OnTheFly.vue | 6 ++---
.../views/CRUD/_delete_content.html.twig | 6 ++---
.../views/CRUD/_edit_content.html.twig | 10 ++++-----
.../Resources/views/CRUD/_index.html.twig | 2 +-
.../views/CRUD/_new_content.html.twig | 8 +++----
.../views/CRUD/_view_content.html.twig | 8 +++----
.../Resources/views/Export/layout.html.twig | 4 ++--
.../views/PermissionsGroup/edit.html.twig | 6 ++---
.../views/PermissionsGroup/index.html.twig | 6 ++---
.../views/PermissionsGroup/show.html.twig | 4 ++--
.../views/Search/advanced_search.html.twig | 2 +-
.../Util/confirmation_template.html.twig | 4 ++--
.../AccompanyingCourse/components/Comment.vue | 4 ++--
.../AccompanyingCourse/components/Confirm.vue | 4 ++--
.../PersonsAssociated/PersonItem.vue | 6 ++---
.../components/Referrer.vue | 2 +-
.../components/Requestor.vue | 2 +-
.../components/Resources/ResourceItem.vue | 2 +-
.../AccompanyingCourse/components/Test.vue | 8 +++----
.../AccompanyingCourseWorkCreate/App.vue | 6 ++---
.../vuejs/AccompanyingCourseWorkEdit/App.vue | 10 ++++-----
.../_components/AddResult.vue | 4 ++--
.../public/vuejs/HouseholdAddress/App.vue | 4 ++--
.../components/Confirmation.vue | 2 +-
.../components/Household.vue | 12 +++++-----
.../public/vuejs/_components/AddPersons.vue | 4 ++--
.../AccompanyingCourse/history.html.twig | 4 ++--
.../views/AccompanyingCourse/index.html.twig | 14 ++++++------
.../list_by_accompanying_period.html.twig | 4 ++--
.../views/AccompanyingPeriod/_list.html.twig | 8 +++----
.../views/AccompanyingPeriod/form.html.twig | 4 ++--
.../views/AccompanyingPeriod/list.html.twig | 8 +++----
.../AccompanyingPeriod/re_open.html.twig | 4 ++--
.../Resources/views/Address/list.html.twig | 8 +++----
.../Resources/views/CRUD/_index.html.twig | 2 +-
.../views/CRUD/_new_content.html.twig | 8 +++----
.../views/CRUD/_view_content.html.twig | 8 +++----
.../Resources/views/CRUD/index.html.twig | 2 +-
.../views/ClosingMotive/index.html.twig | 4 ++--
.../views/Household/Member/edit.html.twig | 4 ++--
.../Household/accompanying_period.html.twig | 4 ++--
.../views/Household/addresses.html.twig | 4 ++--
.../Household/edit_member_metadata.html.twig | 4 ++--
.../views/Household/members.html.twig | 12 +++++-----
.../views/Household/summary.html.twig | 12 +++++-----
.../views/MaritalStatus/index.html.twig | 2 +-
.../views/Person/create_review.html.twig | 2 +-
.../views/Person/household_history.html.twig | 4 ++--
.../Resources/views/Person/list.html.twig | 10 ++++-----
.../Person/list_by_phonenumber.html.twig | 6 ++---
.../views/Person/list_with_period.html.twig | 10 ++++-----
.../views/PersonDuplicate/confirm.html.twig | 8 +++----
.../PersonDuplicate/find_manually.html.twig | 2 +-
.../views/PersonDuplicate/view.html.twig | 8 +++----
.../Resources/views/Report/edit.html.twig | 4 ++--
.../Resources/views/Report/list.html.twig | 6 ++---
.../Resources/views/Report/new.html.twig | 4 ++--
.../views/Report/select_report_type.html.twig | 2 +-
.../Resources/views/Report/view.html.twig | 4 ++--
.../Resources/views/Timeline/report.html.twig | 4 ++--
.../views/SingleTask/_list.html.twig | 22 +++++++++----------
.../Resources/views/SingleTask/edit.html.twig | 4 ++--
.../Resources/views/SingleTask/show.html.twig | 8 +++----
.../views/SingleTask/transition.html.twig | 4 ++--
.../Timeline/single_task_transition.html.twig | 4 ++--
.../views/ThirdParty/index.html.twig | 6 ++---
.../Resources/views/ThirdParty/new.html.twig | 4 ++--
.../Resources/views/ThirdParty/show.html.twig | 4 ++--
.../views/ThirdParty/update.html.twig | 4 ++--
138 files changed, 355 insertions(+), 355 deletions(-)
diff --git a/src/Bundle/ChillActivityBundle/Resources/views/Activity/edit.html.twig b/src/Bundle/ChillActivityBundle/Resources/views/Activity/edit.html.twig
index 5e010bc87..94211fff5 100644
--- a/src/Bundle/ChillActivityBundle/Resources/views/Activity/edit.html.twig
+++ b/src/Bundle/ChillActivityBundle/Resources/views/Activity/edit.html.twig
@@ -94,12 +94,12 @@
{{ form_end(edit_form) }}
diff --git a/src/Bundle/ChillActivityBundle/Resources/views/Activity/list.html.twig b/src/Bundle/ChillActivityBundle/Resources/views/Activity/list.html.twig
index a4d75917e..59b1e193e 100644
--- a/src/Bundle/ChillActivityBundle/Resources/views/Activity/list.html.twig
+++ b/src/Bundle/ChillActivityBundle/Resources/views/Activity/list.html.twig
@@ -13,7 +13,7 @@
{% if activities|length == 0 %}
{{ "There isn't any activities."|trans }}
-
+
{% else %}
@@ -138,20 +138,20 @@
-
+
{# TOOD
{% if is_granted('CHILL_ACTIVITY_UPDATE', activity) %}
#}
-
+
{# TOOD
{% endif %}
{% if is_granted('CHILL_ACTIVITY_DELETE', activity) %}
#}
-
+
{#
{% endif %}
@@ -189,7 +189,7 @@
{# TODO set this condition in configuration #}
-
+
{{ 'Add a new activity' | trans }}
diff --git a/src/Bundle/ChillActivityBundle/Resources/views/Activity/new.html.twig b/src/Bundle/ChillActivityBundle/Resources/views/Activity/new.html.twig
index d7ba17594..2fb0767de 100644
--- a/src/Bundle/ChillActivityBundle/Resources/views/Activity/new.html.twig
+++ b/src/Bundle/ChillActivityBundle/Resources/views/Activity/new.html.twig
@@ -86,7 +86,7 @@
@@ -337,7 +337,7 @@
diff --git a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourseWork/list_by_accompanying_period.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourseWork/list_by_accompanying_period.html.twig
index b12f3c932..1b815088a 100644
--- a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourseWork/list_by_accompanying_period.html.twig
+++ b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourseWork/list_by_accompanying_period.html.twig
@@ -95,7 +95,7 @@
@@ -109,7 +109,7 @@
-
+
{{ person2 }}
@@ -49,7 +49,7 @@
-
+
{{ person }}
@@ -84,13 +84,13 @@
+ class="btn btn-action">
{{ 'Invert'|trans }}
- {{ 'Merge'|trans }}
+ {{ 'Merge'|trans }}
diff --git a/src/Bundle/ChillPersonBundle/Resources/views/PersonDuplicate/find_manually.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/PersonDuplicate/find_manually.html.twig
index f8f80bd56..2c424ca37 100644
--- a/src/Bundle/ChillPersonBundle/Resources/views/PersonDuplicate/find_manually.html.twig
+++ b/src/Bundle/ChillPersonBundle/Resources/views/PersonDuplicate/find_manually.html.twig
@@ -21,7 +21,7 @@
- {{ 'Next'|trans }}
+ {{ 'Next'|trans }}
diff --git a/src/Bundle/ChillPersonBundle/Resources/views/PersonDuplicate/view.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/PersonDuplicate/view.html.twig
index ffda32db6..df0a99450 100644
--- a/src/Bundle/ChillPersonBundle/Resources/views/PersonDuplicate/view.html.twig
+++ b/src/Bundle/ChillPersonBundle/Resources/views/PersonDuplicate/view.html.twig
@@ -56,10 +56,10 @@
-
+
-
+
{{ 'Merge'|trans }}
@@ -122,7 +122,7 @@
-
+
-
+
{{ 'Associate manually a duplicate person' | trans }}
diff --git a/src/Bundle/ChillReportBundle/Resources/views/Report/edit.html.twig b/src/Bundle/ChillReportBundle/Resources/views/Report/edit.html.twig
index 9ae03e174..552517d8a 100644
--- a/src/Bundle/ChillReportBundle/Resources/views/Report/edit.html.twig
+++ b/src/Bundle/ChillReportBundle/Resources/views/Report/edit.html.twig
@@ -31,10 +31,10 @@
{{ form_widget(edit_form) }}
{{ form_end(edit_form) }}
diff --git a/src/Bundle/ChillReportBundle/Resources/views/Report/list.html.twig b/src/Bundle/ChillReportBundle/Resources/views/Report/list.html.twig
index 485771f51..04b32ee57 100644
--- a/src/Bundle/ChillReportBundle/Resources/views/Report/list.html.twig
+++ b/src/Bundle/ChillReportBundle/Resources/views/Report/list.html.twig
@@ -48,12 +48,12 @@
{% if is_granted('CHILL_REPORT_SEE', report) %}
-
+
{% endif %}
{% if is_granted('CHILL_REPORT_UPDATE', report) %}
-
+
{% endif %}
@@ -71,7 +71,7 @@
-
+
{{ 'Create a new report'|trans }}
diff --git a/src/Bundle/ChillReportBundle/Resources/views/Report/new.html.twig b/src/Bundle/ChillReportBundle/Resources/views/Report/new.html.twig
index 1fc18a735..8296045c2 100644
--- a/src/Bundle/ChillReportBundle/Resources/views/Report/new.html.twig
+++ b/src/Bundle/ChillReportBundle/Resources/views/Report/new.html.twig
@@ -29,10 +29,10 @@
{{ form_row(form.cFData) }}
{{ form_end(form) }}
diff --git a/src/Bundle/ChillReportBundle/Resources/views/Report/select_report_type.html.twig b/src/Bundle/ChillReportBundle/Resources/views/Report/select_report_type.html.twig
index 67983a7f8..6fbfbde17 100644
--- a/src/Bundle/ChillReportBundle/Resources/views/Report/select_report_type.html.twig
+++ b/src/Bundle/ChillReportBundle/Resources/views/Report/select_report_type.html.twig
@@ -27,7 +27,7 @@
- {{ 'Back to the list'|trans }}
+ {{ 'Back to the list'|trans }}
diff --git a/src/Bundle/ChillReportBundle/Resources/views/Report/view.html.twig b/src/Bundle/ChillReportBundle/Resources/views/Report/view.html.twig
index f1c6ffdae..752e22684 100644
--- a/src/Bundle/ChillReportBundle/Resources/views/Report/view.html.twig
+++ b/src/Bundle/ChillReportBundle/Resources/views/Report/view.html.twig
@@ -46,11 +46,11 @@
diff --git a/src/Bundle/ChillReportBundle/Resources/views/Timeline/report.html.twig b/src/Bundle/ChillReportBundle/Resources/views/Timeline/report.html.twig
index 7929fed9e..4840598a3 100644
--- a/src/Bundle/ChillReportBundle/Resources/views/Timeline/report.html.twig
+++ b/src/Bundle/ChillReportBundle/Resources/views/Timeline/report.html.twig
@@ -25,13 +25,13 @@
-
+
{{ 'View the report'|trans }}
{% if is_granted('CHILL_REPORT_UPDATE', report) %}
-
+
{{ 'Update the report'|trans }}
diff --git a/src/Bundle/ChillTaskBundle/Resources/views/SingleTask/_list.html.twig b/src/Bundle/ChillTaskBundle/Resources/views/SingleTask/_list.html.twig
index a90f34553..329e36708 100644
--- a/src/Bundle/ChillTaskBundle/Resources/views/SingleTask/_list.html.twig
+++ b/src/Bundle/ChillTaskBundle/Resources/views/SingleTask/_list.html.twig
@@ -63,7 +63,7 @@
{% if workflow_transitions(task)|length > 0 %}
-
+
{% for transition in workflow_transitions(task) %}
{{ task_workflow_metadata(task, 'transition.verb', transition)|trans }}
@@ -73,16 +73,16 @@
{% endif %}
-
+
{% if is_granted('CHILL_TASK_TASK_UPDATE', task) %}
-
+
{% endif %}
{% if is_granted('CHILL_TASK_TASK_DELETE', task) %}
-
+
{% endif %}
@@ -101,24 +101,24 @@
{% if person is not null %}
-
+
{{ 'Back to the list' | trans }}
{% endif %}
{% if user is not null %}
-
+
{{ 'Back to the list' | trans }}
{% endif %}
{% if person is not null %}
-
+
{{ 'Add a new task' | trans }}
{% endif %}
{% if user is not null %}
-
+
{{ 'Add a new task' | trans }}
{% endif %}
@@ -180,7 +180,7 @@
{% if person is not null %}
-
+
{{ 'Add a new task' | trans }}
{% endif %}
@@ -197,7 +197,7 @@
{% if person is not null %}
-
+
{{ 'Add a new task' | trans }}
{% endif %}
@@ -229,7 +229,7 @@
{% if person is not null and is_granted('CHILL_TASK_TASK_CREATE', person) %}
-
+
{{ 'Add a new task' | trans }}
{% endif %}
diff --git a/src/Bundle/ChillTaskBundle/Resources/views/SingleTask/edit.html.twig b/src/Bundle/ChillTaskBundle/Resources/views/SingleTask/edit.html.twig
index c43aaf0a8..1275ba7ec 100644
--- a/src/Bundle/ChillTaskBundle/Resources/views/SingleTask/edit.html.twig
+++ b/src/Bundle/ChillTaskBundle/Resources/views/SingleTask/edit.html.twig
@@ -36,7 +36,7 @@
diff --git a/src/Bundle/ChillTaskBundle/Resources/views/SingleTask/show.html.twig b/src/Bundle/ChillTaskBundle/Resources/views/SingleTask/show.html.twig
index 7dc48f058..0a602703f 100644
--- a/src/Bundle/ChillTaskBundle/Resources/views/SingleTask/show.html.twig
+++ b/src/Bundle/ChillTaskBundle/Resources/views/SingleTask/show.html.twig
@@ -85,7 +85,7 @@
-
- {{'Change task status'|trans}}
+ {{'Change task status'|trans}}
{% for transition in workflow_transitions(task) %}
{{ task_workflow_metadata(task, 'transition.verb', transition)|trans }}
@@ -107,14 +107,14 @@
{% endif %}
{% if is_granted('CHILL_TASK_TASK_UPDATE', task) %}
-
+
{{ 'Edit the task'|trans }}
{% endif %}
{% if is_granted('CHILL_TASK_TASK_CREATE', task) %}
-
+
{{ 'Delete'|trans }}
diff --git a/src/Bundle/ChillTaskBundle/Resources/views/SingleTask/transition.html.twig b/src/Bundle/ChillTaskBundle/Resources/views/SingleTask/transition.html.twig
index fc27ee8c4..1199244cb 100644
--- a/src/Bundle/ChillTaskBundle/Resources/views/SingleTask/transition.html.twig
+++ b/src/Bundle/ChillTaskBundle/Resources/views/SingleTask/transition.html.twig
@@ -20,12 +20,12 @@
-
+
{{ 'Back to the list'|trans }}
- {{ form_widget(form.submit, { 'attr' : { 'class' : "sc-button bt-task-exchange green" }, 'label': task_workflow_metadata(task, 'transition.apply_transition_submit_label', transition)|default('apply')|trans } ) }}
+ {{ form_widget(form.submit, { 'attr' : { 'class' : "btn btn-task-exchange green" }, 'label': task_workflow_metadata(task, 'transition.apply_transition_submit_label', transition)|default('apply')|trans } ) }}
diff --git a/src/Bundle/ChillTaskBundle/Resources/views/Timeline/single_task_transition.html.twig b/src/Bundle/ChillTaskBundle/Resources/views/Timeline/single_task_transition.html.twig
index fe65a1f1f..7b717b990 100644
--- a/src/Bundle/ChillTaskBundle/Resources/views/Timeline/single_task_transition.html.twig
+++ b/src/Bundle/ChillTaskBundle/Resources/views/Timeline/single_task_transition.html.twig
@@ -34,12 +34,12 @@
-
+
{{ "View the task"|trans }}
-
+
{{ "Edit task"|trans }}
diff --git a/src/Bundle/ChillThirdPartyBundle/Resources/views/ThirdParty/index.html.twig b/src/Bundle/ChillThirdPartyBundle/Resources/views/ThirdParty/index.html.twig
index 89b62f567..856dc8587 100644
--- a/src/Bundle/ChillThirdPartyBundle/Resources/views/ThirdParty/index.html.twig
+++ b/src/Bundle/ChillThirdPartyBundle/Resources/views/ThirdParty/index.html.twig
@@ -34,12 +34,12 @@
{% if is_granted('CHILL_3PARTY_3PARTY_UPDATE', tp) %}
-
+
{% endif %}
{% if is_granted('CHILL_3PARTY_3PARTY_SHOW', tp) %}
-
+
{% endif %}
@@ -58,7 +58,7 @@
{% if is_granted('CHILL_3PARTY_3PARTY_CREATE') %}
-
+
{{ "New third party"|trans }}
{% endif %}
diff --git a/src/Bundle/ChillThirdPartyBundle/Resources/views/ThirdParty/new.html.twig b/src/Bundle/ChillThirdPartyBundle/Resources/views/ThirdParty/new.html.twig
index 12fe160a0..6fe6f2ea5 100644
--- a/src/Bundle/ChillThirdPartyBundle/Resources/views/ThirdParty/new.html.twig
+++ b/src/Bundle/ChillThirdPartyBundle/Resources/views/ThirdParty/new.html.twig
@@ -20,12 +20,12 @@
-
+
{{ 'Back to the list'|trans }}
- {{ form_widget(form.submit, {'label': 'Create', 'attr': {'class': 'sc-button bt-new' }}) }}
+ {{ form_widget(form.submit, {'label': 'Create', 'attr': {'class': 'btn btn-new' }}) }}
diff --git a/src/Bundle/ChillThirdPartyBundle/Resources/views/ThirdParty/show.html.twig b/src/Bundle/ChillThirdPartyBundle/Resources/views/ThirdParty/show.html.twig
index 2191d0c69..783b06e82 100644
--- a/src/Bundle/ChillThirdPartyBundle/Resources/views/ThirdParty/show.html.twig
+++ b/src/Bundle/ChillThirdPartyBundle/Resources/views/ThirdParty/show.html.twig
@@ -49,14 +49,14 @@
-
+
{{ 'Cancel'|trans }}
{% if is_granted('CHILL_3PARTY_3PARTY_UPDATE', thirdParty) %}
-
+
{{ 'Update'|trans }}
diff --git a/src/Bundle/ChillThirdPartyBundle/Resources/views/ThirdParty/update.html.twig b/src/Bundle/ChillThirdPartyBundle/Resources/views/ThirdParty/update.html.twig
index 7e3244e32..9b68c36e5 100644
--- a/src/Bundle/ChillThirdPartyBundle/Resources/views/ThirdParty/update.html.twig
+++ b/src/Bundle/ChillThirdPartyBundle/Resources/views/ThirdParty/update.html.twig
@@ -24,11 +24,11 @@
-
+
{{ 'Back to the list'|trans }}
- {{ form_row(form.submit, {'label': 'Update', 'attr': {'class': 'sc-button bt-update' }}) }}
+ {{ form_row(form.submit, {'label': 'Update', 'attr': {'class': 'btn btn-update' }}) }}
From 342fd3e2972f8067a54f1d2903f80cfdf8d18995 Mon Sep 17 00:00:00 2001
From: Mathieu Jaumotte
Date: Mon, 5 Jul 2021 21:22:05 +0200
Subject: [PATCH 03/10] batch rename sc-button cancel
---
.../Resources/public/modules/bootstrap/custom/_buttons.scss | 5 +++++
.../ChillMainBundle/Resources/public/vuejs/Address/App.vue | 2 +-
.../Resources/public/vuejs/_components/Modal.vue | 4 ++--
.../public/vuejs/AccompanyingCourseWorkCreate/App.vue | 2 +-
.../Resources/public/vuejs/HouseholdAddress/App.vue | 2 +-
.../public/vuejs/_components/AddPersons/PersonSuggestion.vue | 2 +-
6 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/src/Bundle/ChillMainBundle/Resources/public/modules/bootstrap/custom/_buttons.scss b/src/Bundle/ChillMainBundle/Resources/public/modules/bootstrap/custom/_buttons.scss
index e8a767ffa..ab7ac9b77 100644
--- a/src/Bundle/ChillMainBundle/Resources/public/modules/bootstrap/custom/_buttons.scss
+++ b/src/Bundle/ChillMainBundle/Resources/public/modules/bootstrap/custom/_buttons.scss
@@ -39,4 +39,9 @@
background-color: $chill-blue;
color: $light;
}
+
+ &.btn-cancel {
+ background-color: $chill-light-gray;
+ color: $black;
+ }
}
diff --git a/src/Bundle/ChillMainBundle/Resources/public/vuejs/Address/App.vue b/src/Bundle/ChillMainBundle/Resources/public/vuejs/Address/App.vue
index 1aec55cb8..fa78c7e3d 100644
--- a/src/Bundle/ChillMainBundle/Resources/public/vuejs/Address/App.vue
+++ b/src/Bundle/ChillMainBundle/Resources/public/vuejs/Address/App.vue
@@ -36,7 +36,7 @@
@@ -55,7 +55,7 @@ export default {
display: table;
transition: opacity 0.3s ease;
}
- .modal-header .close { // bootstrap classes, override sc-button 0 radius
+ .modal-header .close {
border-top-right-radius: 0.3rem;
}
/*
diff --git a/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourseWorkCreate/App.vue b/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourseWorkCreate/App.vue
index 636acb658..d6e6fa7be 100644
--- a/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourseWorkCreate/App.vue
+++ b/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourseWorkCreate/App.vue
@@ -62,7 +62,7 @@
-
+
{{ $t('action.cancel') }}
diff --git a/src/Bundle/ChillPersonBundle/Resources/public/vuejs/HouseholdAddress/App.vue b/src/Bundle/ChillPersonBundle/Resources/public/vuejs/HouseholdAddress/App.vue
index 16b00016e..73880f5db 100644
--- a/src/Bundle/ChillPersonBundle/Resources/public/vuejs/HouseholdAddress/App.vue
+++ b/src/Bundle/ChillPersonBundle/Resources/public/vuejs/HouseholdAddress/App.vue
@@ -33,7 +33,7 @@
{{ form_start(delete_role_scopes_form[role_scope.id]) }}
- {{ form_widget(delete_role_scopes_form[role_scope.id].submit, { 'attr': { 'class': 'sc-button red' } } ) }}
+ {{ form_widget(delete_role_scopes_form[role_scope.id].submit, { 'attr': { 'class': 'btn btn-chill-red' } } ) }}
{{ form_end(delete_role_scopes_form[role_scope.id]) }}
diff --git a/src/Bundle/ChillMainBundle/Resources/views/PermissionsGroup/new.html.twig b/src/Bundle/ChillMainBundle/Resources/views/PermissionsGroup/new.html.twig
index 6d5b59b27..76474f220 100644
--- a/src/Bundle/ChillMainBundle/Resources/views/PermissionsGroup/new.html.twig
+++ b/src/Bundle/ChillMainBundle/Resources/views/PermissionsGroup/new.html.twig
@@ -10,7 +10,7 @@
{% if form.flags is defined %}
{{ form_row(form.flags) }}
{% endif %}
- {{ form_row(form.submit, { 'attr': { 'class': 'sc-button green' } } ) }}
+ {{ form_row(form.submit, { 'attr': { 'class': 'btn btn-chill-green' } } ) }}
{{ form_end(form) }}
diff --git a/src/Bundle/ChillMainBundle/Resources/views/Scope/edit.html.twig b/src/Bundle/ChillMainBundle/Resources/views/Scope/edit.html.twig
index 1ad7ab763..2f1098761 100644
--- a/src/Bundle/ChillMainBundle/Resources/views/Scope/edit.html.twig
+++ b/src/Bundle/ChillMainBundle/Resources/views/Scope/edit.html.twig
@@ -7,7 +7,7 @@
{{ form_start(edit_form) }}
{{ form_row(edit_form.name) }}
- {{ form_row(edit_form.submit, { 'attr' : { 'class' : 'sc-button green' } } ) }}
+ {{ form_row(edit_form.submit, { 'attr' : { 'class' : 'btn btn-chill-green' } } ) }}
{{ form_end(edit_form) }}
diff --git a/src/Bundle/ChillMainBundle/Resources/views/Scope/new.html.twig b/src/Bundle/ChillMainBundle/Resources/views/Scope/new.html.twig
index 14fc46274..0807e6088 100644
--- a/src/Bundle/ChillMainBundle/Resources/views/Scope/new.html.twig
+++ b/src/Bundle/ChillMainBundle/Resources/views/Scope/new.html.twig
@@ -7,7 +7,7 @@
{{ form_start(form) }}
{{ form_row(form.name) }}
- {{ form_row(form.submit, { 'attr' : { 'class' : 'sc-button green' } } ) }}
+ {{ form_row(form.submit, { 'attr' : { 'class' : 'btn btn-chill-green' } } ) }}
{{ form_end(form) }}
diff --git a/src/Bundle/ChillMainBundle/Resources/views/User/edit.html.twig b/src/Bundle/ChillMainBundle/Resources/views/User/edit.html.twig
index 80752d5ad..507e3c609 100644
--- a/src/Bundle/ChillMainBundle/Resources/views/User/edit.html.twig
+++ b/src/Bundle/ChillMainBundle/Resources/views/User/edit.html.twig
@@ -11,8 +11,8 @@
{{ form_row(edit_form.email) }}
{{ form_row(edit_form.enabled, { 'label': "User'status"}) }}
- {{ form_widget(edit_form.submit, { 'attr': { 'class' : 'sc-button green center' } } ) }}
- {{ 'Edit password'|trans }}
+ {{ form_widget(edit_form.submit, { 'attr': { 'class' : 'btn btn-chill-green center' } } ) }}
+ {{ 'Edit password'|trans }}
{{ form_end(edit_form) }}
@@ -42,7 +42,7 @@
{{ form_start(delete_groupcenter_form[groupcenter.id]) }}
- {{ form_row(delete_groupcenter_form[groupcenter.id].submit, { 'attr': { 'class': 'sc-button red' } } ) }}
+ {{ form_row(delete_groupcenter_form[groupcenter.id].submit, { 'attr': { 'class': 'btn btn-chill-red' } } ) }}
{{ form_rest(delete_groupcenter_form[groupcenter.id]) }}
{{ form_end(delete_groupcenter_form[groupcenter.id]) }}
@@ -59,7 +59,7 @@
{{ form_start(add_groupcenter_form) }}
{{ form_row(add_groupcenter_form.composed_groupcenter.center) }}
{{ form_row(add_groupcenter_form.composed_groupcenter.permissionsgroup) }}
- {{ form_row(add_groupcenter_form.submit, { 'attr' : { 'class': 'sc-button green' } } ) }}
+ {{ form_row(add_groupcenter_form.submit, { 'attr' : { 'class': 'btn btn-chill-green' } } ) }}
{{ form_end(add_groupcenter_form) }}
diff --git a/src/Bundle/ChillMainBundle/Resources/views/User/edit_password.html.twig b/src/Bundle/ChillMainBundle/Resources/views/User/edit_password.html.twig
index add790c9d..3280b3679 100644
--- a/src/Bundle/ChillMainBundle/Resources/views/User/edit_password.html.twig
+++ b/src/Bundle/ChillMainBundle/Resources/views/User/edit_password.html.twig
@@ -7,7 +7,7 @@
{{ form_start(edit_form) }}
{{ form_row(edit_form.new_password) }}
- {{ form_widget(edit_form.submit, { 'attr': { 'class': 'sc-button orange' } } ) }}
+ {{ form_widget(edit_form.submit, { 'attr': { 'class': 'btn btn-chill-orange' } } ) }}
{{ form_end(edit_form) }}
diff --git a/src/Bundle/ChillMainBundle/Resources/views/User/new.html.twig b/src/Bundle/ChillMainBundle/Resources/views/User/new.html.twig
index 11db501c6..b2234ef30 100644
--- a/src/Bundle/ChillMainBundle/Resources/views/User/new.html.twig
+++ b/src/Bundle/ChillMainBundle/Resources/views/User/new.html.twig
@@ -9,7 +9,7 @@
{{ form_row(form.username) }}
{{ form_row(form.email) }}
{{ form_row(form.plainPassword) }}
- {{ form_widget(form.submit, { 'attr' : { 'class': 'sc-button blue' } }) }}
+ {{ form_widget(form.submit, { 'attr' : { 'class': 'btn btn-chill-blue' } }) }}
{{ form_end(form) }}
diff --git a/src/Bundle/ChillPersonBundle/Resources/public/vuejs/_components/AddPersons/PersonSuggestion.vue b/src/Bundle/ChillPersonBundle/Resources/public/vuejs/_components/AddPersons/PersonSuggestion.vue
index 5d75b9ec0..172e241ad 100644
--- a/src/Bundle/ChillPersonBundle/Resources/public/vuejs/_components/AddPersons/PersonSuggestion.vue
+++ b/src/Bundle/ChillPersonBundle/Resources/public/vuejs/_components/AddPersons/PersonSuggestion.vue
@@ -90,6 +90,7 @@ export default {
margin-left: 0.5em;
align-self: baseline;
}
+
a.btn {
border: 1px solid lightgrey;
font-size: 70%;
diff --git a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/index.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/index.html.twig
index a373cdb3e..db7bf9e88 100644
--- a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/index.html.twig
+++ b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/index.html.twig
@@ -112,7 +112,7 @@
'chill_person_household_summary',
{ 'household_id': p.person.getCurrentHousehold.id }
) }}"
- class="sc-button">
+ class="btn">
n° {{ p.person.getCurrentHousehold.id }}
diff --git a/src/Bundle/ChillPersonBundle/Resources/views/Household/members.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/Household/members.html.twig
index 0ca139abc..7fbeef5b7 100644
--- a/src/Bundle/ChillPersonBundle/Resources/views/Household/members.html.twig
+++ b/src/Bundle/ChillPersonBundle/Resources/views/Household/members.html.twig
@@ -98,7 +98,7 @@
href="{{ chill_path_add_return_path('chill_person_household_members_editor', {
'persons': [ m.person.id ],
'allow_leave_without_household': true
- } ) }}" class="sc-button" title="{{ 'household.Leave household'|trans }}" />
+ } ) }}" class="btn" title="{{ 'household.Leave household'|trans }}" />
{{ 'household.Leave household'|trans }}
diff --git a/src/Bundle/ChillPersonBundle/Resources/views/Household/summary.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/Household/summary.html.twig
index 14f7a2ce1..4f0e601f9 100644
--- a/src/Bundle/ChillPersonBundle/Resources/views/Household/summary.html.twig
+++ b/src/Bundle/ChillPersonBundle/Resources/views/Household/summary.html.twig
@@ -123,7 +123,7 @@
'persons': [ m.person.id ],
'household': household.id
} ) }}"
- class="sc-button"
+ class="btn"
/>
{{ 'household.Change position'|trans }}
@@ -137,7 +137,7 @@
'persons': [ m.person.id ],
'allow_leave_without_household': true
} ) }}"
- class="sc-button"
+ class="btn"
/>
{{ 'household.Leave'|trans }}
diff --git a/src/Bundle/ChillPersonBundle/Resources/views/Person/create.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/Person/create.html.twig
index a55e69b6b..fde252170 100644
--- a/src/Bundle/ChillPersonBundle/Resources/views/Person/create.html.twig
+++ b/src/Bundle/ChillPersonBundle/Resources/views/Person/create.html.twig
@@ -41,7 +41,7 @@
{{ form_rest(form) }}
- {{ 'Add the person'|trans }}
+ {{ 'Add the person'|trans }}
{{ form_end(form) }}
diff --git a/src/Bundle/ChillPersonBundle/Resources/views/Person/household_history.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/Person/household_history.html.twig
index 993fbfbda..496cfd0eb 100644
--- a/src/Bundle/ChillPersonBundle/Resources/views/Person/household_history.html.twig
+++ b/src/Bundle/ChillPersonBundle/Resources/views/Person/household_history.html.twig
@@ -17,7 +17,7 @@
-
{{ '%total% persons matching the search pattern:'|transchoice( total, { '%total%' : total}) }}
-
+
{{ pattern }}
@@ -97,7 +97,7 @@
{% endif %}
{% if preview == true and persons|length < total %}
-
+
{{ 'See all results'|trans }}
diff --git a/src/Bundle/ChillPersonBundle/Resources/views/Person/list_by_phonenumber.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/Person/list_by_phonenumber.html.twig
index 3576a2ad0..2b8ac99d9 100644
--- a/src/Bundle/ChillPersonBundle/Resources/views/Person/list_by_phonenumber.html.twig
+++ b/src/Bundle/ChillPersonBundle/Resources/views/Person/list_by_phonenumber.html.twig
@@ -18,7 +18,7 @@
{{ '%total% persons matching the search pattern:'|transchoice( total, { '%total%' : total}) }}
-
+
{{ pattern }}
@@ -94,7 +94,7 @@
{% endif %}
{% if preview == true and persons|length < total %}
-
+
{{ 'See all results'|trans }}
diff --git a/src/Bundle/ChillPersonBundle/Resources/views/Person/list_with_period.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/Person/list_with_period.html.twig
index 03970b755..feca248a1 100644
--- a/src/Bundle/ChillPersonBundle/Resources/views/Person/list_with_period.html.twig
+++ b/src/Bundle/ChillPersonBundle/Resources/views/Person/list_with_period.html.twig
@@ -2,7 +2,7 @@
{{ '%total% persons matching the search pattern:'|transchoice( total, { '%total%' : total}) }}
-
+
{{ pattern }}
@@ -27,7 +27,7 @@
{% endif %}
{% if preview == true and persons | length < total %}
-
+
{{ 'See all results'|trans }}
@@ -79,12 +79,12 @@
-
+
{{ 'Open person file'|trans }}
-
+
@@ -107,7 +107,7 @@