From 3789a7943761c1d0995bf2ec199c588c69d41699 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Mon, 3 Aug 2026 18:16:53 +0200 Subject: Reroute events, tags, menuitems under /admin and reture events-without-a-page view --- app/views/events/index.html.erb | 1 - app/views/events/without_node.html.erb | 30 ------------------------------ 2 files changed, 31 deletions(-) delete mode 100644 app/views/events/without_node.html.erb (limited to 'app/views') diff --git a/app/views/events/index.html.erb b/app/views/events/index.html.erb index d07d6f82..a2710c2a 100644 --- a/app/views/events/index.html.erb +++ b/app/views/events/index.html.erb @@ -4,7 +4,6 @@ <%= link_to new_event_path, class: 'action_button' do %> <%= icon("plus", library: "tabler", "aria-hidden": true) %> <%= t(".create_event") %> <% end %> - <%= link_to t(".without_page_link"), without_node_events_path %> <%= will_paginate @events %> diff --git a/app/views/events/without_node.html.erb b/app/views/events/without_node.html.erb deleted file mode 100644 index e59eedc7..00000000 --- a/app/views/events/without_node.html.erb +++ /dev/null @@ -1,30 +0,0 @@ -

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

- -<%= link_to t(".all_events_link"), events_path %> -<%= link_to new_event_path, class: 'action_button' do %> - <%= icon("plus", library: "tabler", "aria-hidden": true) %> <%= t("events.index.create_event") %> -<% end %> - -<%= will_paginate @events %> - - - - - - - - - - - -<% @events.each do |event| %> - - - - - - - - -<% end %> -
<%= 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 %><%= admin_datetime(event.start_time) %><%= admin_datetime(event.end_time) %><%= t("admin.common.#{event.allday ? "yes" : "no"}") %><%=h event.url %><%= external_url_link(event.url) %>
-- cgit v1.3