diff --git a/src/Bundle/ChillDocStoreBundle/Resources/views/List/list_item.html.twig b/src/Bundle/ChillDocStoreBundle/Resources/views/List/list_item.html.twig
index 847ddd388..5ce03091b 100644
--- a/src/Bundle/ChillDocStoreBundle/Resources/views/List/list_item.html.twig
+++ b/src/Bundle/ChillDocStoreBundle/Resources/views/List/list_item.html.twig
@@ -42,41 +42,40 @@
{{ mmm.createdBy(document) }}
-
-
- {% if document.course is defined %}
- {% if is_granted('CHILL_ACCOMPANYING_COURSE_DOCUMENT_SEE_DETAILS', document) %}
- -
- {{ m.download_button(document.object, document.title) }}
-
- -
-
-
- {% endif %}
- {% if is_granted('CHILL_ACCOMPANYING_COURSE_DOCUMENT_UPDATE', document) %}
- -
-
-
- {% endif %}
+
+ {% if document.course is defined %}
+ {% if is_granted('CHILL_ACCOMPANYING_COURSE_DOCUMENT_SEE_DETAILS', document) %}
-
- {{ chill_entity_workflow_list('Chill\\DocStoreBundle\\Entity\\AccompanyingCourseDocument', document.id) }}
+ {{ m.download_button(document.object, document.title) }}
+
+ -
+
- {% else %}
- {% if is_granted('CHILL_PERSON_DOCUMENT_SEE_DETAILS', document) %}
- -
- {{ m.download_button(document.object, document.title) }}
-
- -
-
-
- {% endif %}
- {% if is_granted('CHILL_PERSON_DOCUMENT_UPDATE', document) %}
- -
-
-
- {% endif %}
{% endif %}
-
-
+ {% if is_granted('CHILL_ACCOMPANYING_COURSE_DOCUMENT_UPDATE', document) %}
+
+
+
+ {% endif %}
+
+ {{ chill_entity_workflow_list('Chill\\DocStoreBundle\\Entity\\AccompanyingCourseDocument', document.id) }}
+
+ {% else %}
+ {% if is_granted('CHILL_PERSON_DOCUMENT_SEE_DETAILS', document) %}
+
+ {{ m.download_button(document.object, document.title) }}
+
+
+
+
+ {% endif %}
+ {% if is_granted('CHILL_PERSON_DOCUMENT_UPDATE', document) %}
+
+
+
+ {% endif %}
+ {% endif %}
+
+
diff --git a/src/Bundle/ChillMainBundle/Resources/public/chill/chillmain.scss b/src/Bundle/ChillMainBundle/Resources/public/chill/chillmain.scss
index eac04acc2..1750533f8 100644
--- a/src/Bundle/ChillMainBundle/Resources/public/chill/chillmain.scss
+++ b/src/Bundle/ChillMainBundle/Resources/public/chill/chillmain.scss
@@ -278,6 +278,7 @@ table.table-bordered {
}
/// meta-data
+div.createdBy,
div.updatedBy,
div.metadata {
span.user, span.date {
diff --git a/src/Bundle/ChillMainBundle/Resources/public/chill/scss/flex_table.scss b/src/Bundle/ChillMainBundle/Resources/public/chill/scss/flex_table.scss
index 67160863d..1cbb37e4b 100644
--- a/src/Bundle/ChillMainBundle/Resources/public/chill/scss/flex_table.scss
+++ b/src/Bundle/ChillMainBundle/Resources/public/chill/scss/flex_table.scss
@@ -279,6 +279,7 @@ div.wrap-header {
li {
margin-right: 5px;
+ margin-bottom: 5px;
}
}
}
diff --git a/src/Bundle/ChillMainBundle/Resources/public/chill/scss/record_actions.scss b/src/Bundle/ChillMainBundle/Resources/public/chill/scss/record_actions.scss
index 928468715..d72b77e04 100644
--- a/src/Bundle/ChillMainBundle/Resources/public/chill/scss/record_actions.scss
+++ b/src/Bundle/ChillMainBundle/Resources/public/chill/scss/record_actions.scss
@@ -1,7 +1,7 @@
ul.record_actions {
display: flex;
flex-direction: row;
- flex-wrap: wrap-reverse;
+ flex-wrap: wrap;
justify-content: flex-end;
padding: 0.5em 0;
diff --git a/src/Bundle/ChillPersonBundle/Resources/views/Macro/updatedBy.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/Macro/updatedBy.html.twig
index 3df3f9afb..5b86bc319 100644
--- a/src/Bundle/ChillPersonBundle/Resources/views/Macro/updatedBy.html.twig
+++ b/src/Bundle/ChillPersonBundle/Resources/views/Macro/updatedBy.html.twig
@@ -8,7 +8,7 @@
{% endif %}
{% if entity.updatedBy != null %}
{% if entity.updatedAt != null %}
- {{ ', ' }}
{{ 'by_user'|trans }}
+ {{ ', ' }}{{ 'by_user'|trans }}
{% else %}
{{ 'Last updated by'|trans }}
{% endif %}
@@ -29,7 +29,7 @@
{% endif %}
{% if entity.createdBy != null %}
{% if entity.createdAt != null %}
- {{ ', ' }}
{{ 'by_user'|trans }}
+ {{ ', ' }}{{ 'by_user'|trans }}
{% else %}
{{ 'Created by'|trans }}
{% endif %}