diff options
Diffstat (limited to 'app/views/events/without_node.html.erb')
| -rw-r--r-- | app/views/events/without_node.html.erb | 20 |
1 files changed, 10 insertions, 10 deletions
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 @@ | |||
| 1 | <h1>Events without a node</h1> | 1 | <h1><%= t(".title") %></h1> |
| 2 | 2 | ||
| 3 | <%= link_to '← All events', events_path %> | 3 | <%= link_to t(".all_events_link"), events_path %> |
| 4 | <%= link_to new_event_path, class: 'action_button' do %> | 4 | <%= link_to new_event_path, class: 'action_button' do %> |
| 5 | <%= icon("plus", library: "tabler", "aria-hidden": true) %> Create event | 5 | <%= icon("plus", library: "tabler", "aria-hidden": true) %> <%= t("events.index.create_event") %> |
| 6 | <% end %> | 6 | <% end %> |
| 7 | 7 | ||
| 8 | <%= will_paginate @events %> | 8 | <%= will_paginate @events %> |
| 9 | 9 | ||
| 10 | <table class="events_table"> | 10 | <table class="events_table"> |
| 11 | <tr class="header"> | 11 | <tr class="header"> |
| 12 | <th>Title</th> | 12 | <th><%= t("admin.columns.title") %></th> |
| 13 | <th>Start time</th> | 13 | <th><%= Event.human_attribute_name(:start_time) %></th> |
| 14 | <th>End time</th> | 14 | <th><%= Event.human_attribute_name(:end_time) %></th> |
| 15 | <th>Allday</th> | 15 | <th><%= Event.human_attribute_name(:allday) %></th> |
| 16 | <th>Url</th> | 16 | <th><%= Event.human_attribute_name(:url) %></th> |
| 17 | <th></th> | 17 | <th></th> |
| 18 | </tr> | 18 | </tr> |
| 19 | 19 | ||
| @@ -22,9 +22,9 @@ | |||
| 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><%=h event.start_time %></td> |
| 24 | <td><%=h event.end_time %></td> | 24 | <td><%=h event.end_time %></td> |
| 25 | <td><%=h event.allday %></td> | 25 | <td><%=h event.allday %> → <%= event.allday ? t("admin.common.yes") : t("admin.common.no") %></td> |
| 26 | <td><%=h event.url %></td> | 26 | <td><%=h event.url %></td> |
| 27 | <td><%= link_to 'edit', edit_event_path(event) %></td> | 27 | <td><%= link_to t("events.index.edit_link"), edit_event_path(event) %></td> |
| 28 | </tr> | 28 | </tr> |
| 29 | <% end %> | 29 | <% end %> |
| 30 | </table> | 30 | </table> |
