diff --git a/src/Bundle/ChillMainBundle/Resources/public/chill/scss/buttons.scss b/src/Bundle/ChillMainBundle/Resources/public/chill/scss/buttons.scss index 6264a3a95..c2995e57d 100644 --- a/src/Bundle/ChillMainBundle/Resources/public/chill/scss/buttons.scss +++ b/src/Bundle/ChillMainBundle/Resources/public/chill/scss/buttons.scss @@ -62,10 +62,10 @@ $chill-theme-buttons: ( &.btn-view::before, &.btn-save::before, &.btn-duplicate::before, - &.btn-not-duplicate::before, - &.btn-submit::before, - &.btn-reset::before, - &.btn-action::before, + // &.btn-not-duplicate::before, + // &.btn-submit::before, + // &.btn-reset::before, + // &.btn-action::before, &.btn-delete::before, &.btn-remove::before, &.btn-cancel::before { @@ -101,3 +101,13 @@ $chill-theme-buttons: ( color: $light; } } + +/// allow to hide icon (herited from scratch) +.btn { + &.change-icon { + &::before { + content: ''; + margin-right: 0; + } + } +} diff --git a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingPeriod/_list.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingPeriod/_list.html.twig index 7b4ac4a61..af358c01e 100644 --- a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingPeriod/_list.html.twig +++ b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingPeriod/_list.html.twig @@ -1,39 +1,28 @@ {% block content %} - +
- - {{ p.person.firstname ~ ' ' ~ p.person.lastname }} - -
- {% endfor %} - {% else %} - {{ 'No data given'|trans }} - {% endif %} -{{ accompanying_period.requestorPerson.firstname ~ ' ' ~ accompanying_period.requestorPerson.lastname }}
- {% endif %} - {% if accompanying_period.requestorThirdParty is not null %} -{{ accompanying_period.requestorThirdParty.name }}
- {% endif %} - {% else %} - {{ 'No data given'|trans }} - {% endif %} -{{ si.title|localize_translatable_string }}
- {% endfor %} - {% else %} - {{ 'No data given'|trans }} - {% endif %} -+ + {{ p.person.firstname ~ ' ' ~ p.person.lastname }} + +
+ {% endfor %} + {% else %} + {{ 'No data given'|trans }} + {% endif %} + +{{ accompanying_period.requestorPerson.firstname ~ ' ' ~ accompanying_period.requestorPerson.lastname }}
+ {% endif %} + {% if accompanying_period.requestorThirdParty is not null %} +{{ accompanying_period.requestorThirdParty.name }}
+ {% endif %} + {% else %} + {{ 'No data given'|trans }} + {% endif %} + +{{ si.title|localize_translatable_string }}
+ {% endfor %} + {% else %} + {{ 'No data given'|trans }} + {% endif %} + +