diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-07-13 23:33:11 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-07-13 23:33:11 +0200 |
| commit | 8eab68f2c5a3c126e2fec2ecdfa7ace87ce0937b (patch) | |
| tree | f446ebc26a7707c7b64a937aa51a155df146c80a /app/views/events/without_node.html.erb | |
| parent | 42714c697273a7117c6b355fab26c8c35e336ad1 (diff) | |
| parent | cdf5d9941ca866d437612d2f863eac6eb0b3db12 (diff) | |
Merge branch 'erdgeist-revive-events'
Diffstat (limited to 'app/views/events/without_node.html.erb')
| -rw-r--r-- | app/views/events/without_node.html.erb | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/app/views/events/without_node.html.erb b/app/views/events/without_node.html.erb new file mode 100644 index 0000000..bb27173 --- /dev/null +++ b/app/views/events/without_node.html.erb | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | <h1>Events without a node</h1> | ||
| 2 | |||
| 3 | <%= link_to '← All events', events_path %> | ||
| 4 | <%= link_to new_event_path, class: 'action_button' do %> | ||
| 5 | <%= icon("plus", library: "tabler", "aria-hidden": true) %> Create event | ||
| 6 | <% end %> | ||
| 7 | |||
| 8 | <%= will_paginate @events %> | ||
| 9 | |||
| 10 | <table class="events_table"> | ||
| 11 | <tr class="header"> | ||
| 12 | <th>Title</th> | ||
| 13 | <th>Start time</th> | ||
| 14 | <th>End time</th> | ||
| 15 | <th>Allday</th> | ||
| 16 | <th>Url</th> | ||
| 17 | <th></th> | ||
| 18 | </tr> | ||
| 19 | |||
| 20 | <% @events.each do |event| %> | ||
| 21 | <tr> | ||
| 22 | <td><%= link_to event.display_title, event %></td> | ||
| 23 | <td><%=h event.start_time %></td> | ||
| 24 | <td><%=h event.end_time %></td> | ||
| 25 | <td><%=h event.allday %></td> | ||
| 26 | <td><%=h event.url %></td> | ||
| 27 | <td><%= link_to 'edit', edit_event_path(event) %></td> | ||
| 28 | </tr> | ||
| 29 | <% end %> | ||
| 30 | </table> | ||
