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/events/without_node.html.erb | |
| parent | a74e40be88cd1331155c967656e393618e88cd27 (diff) | |
Render dates, booleans and counts through the locale files
Diffstat (limited to 'app/views/events/without_node.html.erb')
| -rw-r--r-- | app/views/events/without_node.html.erb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/events/without_node.html.erb b/app/views/events/without_node.html.erb index c610b560..e59eedc7 100644 --- a/app/views/events/without_node.html.erb +++ b/app/views/events/without_node.html.erb | |||
| @@ -20,11 +20,11 @@ | |||
| 20 | <% @events.each do |event| %> | 20 | <% @events.each do |event| %> |
| 21 | <tr> | 21 | <tr> |
| 22 | <td><%= link_to event.display_title, event %></td> | 22 | <td><%= link_to event.display_title, event %></td> |
| 23 | <td><%=h event.start_time %></td> | 23 | <td><%= admin_datetime(event.start_time) %></td> |
| 24 | <td><%=h event.end_time %></td> | 24 | <td><%= admin_datetime(event.end_time) %></td> |
| 25 | <td><%=h event.allday %> → <%= event.allday ? t("admin.common.yes") : t("admin.common.no") %></td> | 25 | <td><%= t("admin.common.#{event.allday ? "yes" : "no"}") %></td> |
| 26 | <td><%=h event.url %></td> | 26 | <td><%=h event.url %></td> |
| 27 | <td><%= link_to t("events.index.edit_link"), edit_event_path(event) %></td> | 27 | <td class="url_cell"><span class="truncate"><%= external_url_link(event.url) %></span></td> |
| 28 | </tr> | 28 | </tr> |
| 29 | <% end %> | 29 | <% end %> |
| 30 | </table> | 30 | </table> |
