diff --git a/src/lang/en.js b/src/lang/en.js index 48e59f5e..8e0e71b0 100644 --- a/src/lang/en.js +++ b/src/lang/en.js @@ -211,6 +211,7 @@ export default { delete: 'Delete', cancel: 'Cancel', deleteCompleted: 'Delete comleted', - deleteCanceled: 'Delete canceled' + deleteCanceled: 'Delete canceled', + noNotes: 'No notes to display' } } diff --git a/src/views/reports/components/TimelineItem.vue b/src/views/reports/components/TimelineItem.vue index 250bf35e..60ab7aa9 100644 --- a/src/views/reports/components/TimelineItem.vue +++ b/src/views/reports/components/TimelineItem.vue @@ -8,15 +8,20 @@

{{ item.content }}

-
- -
-

{{ $t('reports.from') }} {{ note.author }}

- -
-

{{ note.timestamp }}

-

{{ note.text }}

-
+
+
+ +
+

{{ $t('reports.from') }} {{ note.author }}

+ +
+

{{ note.timestamp }}

+

{{ note.text }}

+
+
+
+
+

{{ $t('reports.noNotes') }}

@@ -129,6 +134,10 @@ export default { box-shadow: 0 2px 5px 0 rgba(0,0,0,.1); margin-bottom: 10px; } + .no-notes { + font-style: italic; + color: gray; + } .submit-button { display: block; margin: 7px 0 17px auto;