Skip to content

Commit

Permalink
refactor: version history
Browse files Browse the repository at this point in the history
  • Loading branch information
MitanOmar committed Dec 18, 2024
1 parent 022a031 commit 40bae69
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions addon/components/single-document-details.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -250,23 +250,19 @@
<ul class="uk-list uk-list-divider version-history">
{{#each (filter-by "variant" "original" @document.files) as |file|}}
<li data-test-file class="uk-flex">
<span class="uk-margin-right" title={{format-date
file.createdAt
month="2-digit"
day="2-digit"
year="numeric"
hour="2-digit"
minute="2-digit"}}>
<span class="uk-margin-right">
{{format-date
file.createdAt
month="2-digit"
day="2-digit"
year="numeric"
}}
</span>
<span class="uk-width-expand">
hour="2-digit"
minute="2-digit"
}} <br>
<span class="uk-width-expand">
{{~await (resolve-user file.createdByUser)~}}
</span>
</span>
<span class="uk-flex uk-flex-middle">
<UkIcon @icon="info" class="uk-icon-link" />
<div uk-dropdown pos="left-bottom">
Expand Down

0 comments on commit 40bae69

Please sign in to comment.