From de9a3a5591d4b17c0e0f17abc0ee8ffe85de50e6 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Sat, 25 Jul 2026 14:24:03 +0200 Subject: Extract admin strings to i18n: assets and events clusters --- app/views/events/without_node.html.erb | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'app/views/events/without_node.html.erb') diff --git a/app/views/events/without_node.html.erb b/app/views/events/without_node.html.erb index bb27173b..c610b560 100644 --- a/app/views/events/without_node.html.erb +++ b/app/views/events/without_node.html.erb @@ -1,19 +1,19 @@ -

Events without a node

+

<%= t(".title") %>

-<%= link_to '← All events', events_path %> +<%= link_to t(".all_events_link"), events_path %> <%= link_to new_event_path, class: 'action_button' do %> - <%= icon("plus", library: "tabler", "aria-hidden": true) %> Create event + <%= icon("plus", library: "tabler", "aria-hidden": true) %> <%= t("events.index.create_event") %> <% end %> <%= will_paginate @events %> - - - - - + + + + + @@ -22,9 +22,9 @@ - + - + <% end %>
TitleStart timeEnd timeAlldayUrl<%= t("admin.columns.title") %><%= Event.human_attribute_name(:start_time) %><%= Event.human_attribute_name(:end_time) %><%= Event.human_attribute_name(:allday) %><%= Event.human_attribute_name(:url) %>
<%= link_to event.display_title, event %> <%=h event.start_time %> <%=h event.end_time %><%=h event.allday %><%=h event.allday %> → <%= event.allday ? t("admin.common.yes") : t("admin.common.no") %> <%=h event.url %><%= link_to 'edit', edit_event_path(event) %><%= link_to t("events.index.edit_link"), edit_event_path(event) %>
-- cgit v1.3