mirror of
https://github.com/penpot/penpot.git
synced 2025-02-26 00:36:12 -05:00
✨ Show project modified date consistently
This commit is contained in:
parent
f174264f7f
commit
21430cbd7d
1 changed files with 3 additions and 4 deletions
|
@ -296,10 +296,9 @@
|
||||||
:on-import on-import}]
|
:on-import on-import}]
|
||||||
|
|
||||||
[:span.info (str (tr "labels.num-of-files" (i18n/c file-count)))]
|
[:span.info (str (tr "labels.num-of-files" (i18n/c file-count)))]
|
||||||
(when (> file-count 0)
|
|
||||||
(let [time (-> (:modified-at project)
|
(let [time (-> (:modified-at project)
|
||||||
(dt/timeago {:locale locale}))]
|
(dt/timeago {:locale locale}))]
|
||||||
[:span.recent-files-row-title-info (str ", " time)]))
|
[:span.recent-files-row-title-info (str ", " time)])
|
||||||
[:div.project-actions
|
[:div.project-actions
|
||||||
(when-not (:is-default project)
|
(when-not (:is-default project)
|
||||||
[:button.pin-icon.tooltip.tooltip-bottom
|
[:button.pin-icon.tooltip.tooltip-bottom
|
||||||
|
|
Loading…
Add table
Reference in a new issue