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/index.html.erb | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'app/views/events/index.html.erb') diff --git a/app/views/events/index.html.erb b/app/views/events/index.html.erb index dde897ee..138a02ec 100644 --- a/app/views/events/index.html.erb +++ b/app/views/events/index.html.erb @@ -1,23 +1,23 @@ -

Events

+

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

<%= 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(".create_event") %> <% end %> - <%= link_to 'View events without a page →', without_node_events_path %> + <%= link_to t(".without_page_link"), without_node_events_path %>
<%= will_paginate @events %> - - - - - - - + + + + + + + @@ -27,14 +27,14 @@ - + - + <% end %>
TitleStart timeEnd timeRruleAlldayUrlNode<%= t("admin.columns.title") %><%= Event.human_attribute_name(:start_time) %><%= Event.human_attribute_name(:end_time) %><%= Event.human_attribute_name(:rrule) %><%= Event.human_attribute_name(:allday) %><%= Event.human_attribute_name(:url) %><%= Event.human_attribute_name(:start_node) %>
<%=h event.start_time %> <%=h event.end_time %> <%= rrule_with_break_opportunities(event.rrule) %><%=h event.allday %><%=h event.allday %> → <%= event.allday ? t("admin.common.yes") : t("admin.common.no") %> <% if event.url.present? %> <%= link_to event.url, event.url %> <% end %> <%= event.node ? link_to(event.node_id, node_path(event.node)) : '' %><%= link_to 'edit', edit_event_path(event) %><%= link_to t(".edit_link"), edit_event_path(event) %>
-- cgit v1.3