diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-08-03 17:12:34 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-08-03 17:12:34 +0200 |
| commit | 84657fa9d633a7d3e20c10645589061ecebeee3f (patch) | |
| tree | f4bda793d90193db5002d0f2848dc441e9c65c11 /app/views/revisions/show.html.erb | |
| parent | a74e40be88cd1331155c967656e393618e88cd27 (diff) | |
Render dates, booleans and counts through the locale files
Diffstat (limited to 'app/views/revisions/show.html.erb')
| -rw-r--r-- | app/views/revisions/show.html.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/revisions/show.html.erb b/app/views/revisions/show.html.erb index addcfa1a..1456a051 100644 --- a/app/views/revisions/show.html.erb +++ b/app/views/revisions/show.html.erb | |||
| @@ -22,10 +22,10 @@ | |||
| 22 | <div class="layout_row_content"><%= @page.editor.try(:login) %></div> | 22 | <div class="layout_row_content"><%= @page.editor.try(:login) %></div> |
| 23 | 23 | ||
| 24 | <div class="layout_row_label"><%= t("nodes.show.last_updated") %></div> | 24 | <div class="layout_row_label"><%= t("nodes.show.last_updated") %></div> |
| 25 | <div class="layout_row_content"><%= @page.updated_at %></div> | 25 | <div class="layout_row_content"><%= admin_datetime(@page.updated_at) %></div> |
| 26 | 26 | ||
| 27 | <div class="layout_row_label"><%= t("nodes.show.published_at") %></div> | 27 | <div class="layout_row_label"><%= t("nodes.show.published_at") %></div> |
| 28 | <div class="layout_row_content"><%= @page.published_at %></div> | 28 | <div class="layout_row_content"><%= admin_datetime(@page.published_at) %></div> |
| 29 | 29 | ||
| 30 | <div class="layout_row_label"><%= Page.human_attribute_name(:title) %></div> | 30 | <div class="layout_row_label"><%= Page.human_attribute_name(:title) %></div> |
| 31 | <div class="layout_row_content"><%= translation&.title %></div> | 31 | <div class="layout_row_content"><%= translation&.title %></div> |
