diff options
Diffstat (limited to 'app/assets/javascripts/notes/components/note_edited_text.vue')
-rw-r--r-- | app/assets/javascripts/notes/components/note_edited_text.vue | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/app/assets/javascripts/notes/components/note_edited_text.vue b/app/assets/javascripts/notes/components/note_edited_text.vue index bdff2e6317c..25c82c29a29 100644 --- a/app/assets/javascripts/notes/components/note_edited_text.vue +++ b/app/assets/javascripts/notes/components/note_edited_text.vue @@ -46,14 +46,21 @@ export default { <template #actionText> {{ actionText }} </template> + <template #actionDetail> + {{ actionDetailText }} + </template> + <template #timeago> + <time-ago-tooltip :time="editedAt" tooltip-placement="bottom" /> + </template> <template #author> - <gl-link :href="editedBy.path" :data-user-id="editedBy.id" class="js-user-link author-link"> + <gl-link + :href="editedBy.path" + :data-user-id="editedBy.id" + class="js-user-link author-link gl-hover-text-decoration-underline" + > {{ editedBy.name }} </gl-link> </template> - <template #actionDetail> - {{ actionDetailText }} - </template> </gl-sprintf> <gl-sprintf v-else :message="$options.i18n.actionWithoutAuthor"> <template #actionText> @@ -62,7 +69,9 @@ export default { <template #actionDetail> {{ actionDetailText }} </template> + <template #timeago> + <time-ago-tooltip :time="editedAt" tooltip-placement="bottom" /> + </template> </gl-sprintf> - <time-ago-tooltip :time="editedAt" tooltip-placement="bottom" /> </div> </template> |