diff options
Diffstat (limited to 'app/views/events/index.html.erb')
| -rw-r--r-- | app/views/events/index.html.erb | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/app/views/events/index.html.erb b/app/views/events/index.html.erb index 7dfb854c..d07d6f82 100644 --- a/app/views/events/index.html.erb +++ b/app/views/events/index.html.erb | |||
| @@ -15,7 +15,6 @@ | |||
| 15 | <th><%= Event.human_attribute_name(:start_time) %></th> | 15 | <th><%= Event.human_attribute_name(:start_time) %></th> |
| 16 | <th><%= Event.human_attribute_name(:end_time) %></th> | 16 | <th><%= Event.human_attribute_name(:end_time) %></th> |
| 17 | <th><%= Event.human_attribute_name(:rrule) %></th> | 17 | <th><%= Event.human_attribute_name(:rrule) %></th> |
| 18 | <th><%= Event.human_attribute_name(:allday) %></th> | ||
| 19 | <th><%= Event.human_attribute_name(:url) %></th> | 18 | <th><%= Event.human_attribute_name(:url) %></th> |
| 20 | <th><%= Event.human_attribute_name(:start_node) %></th> | 19 | <th><%= Event.human_attribute_name(:start_node) %></th> |
| 21 | <th></th> | 20 | <th></th> |
| @@ -23,11 +22,15 @@ | |||
| 23 | 22 | ||
| 24 | <% @events.each do |event| %> | 23 | <% @events.each do |event| %> |
| 25 | <tr> | 24 | <tr> |
| 26 | <td><%= link_to event.display_title, event %></td> | 25 | <td> |
| 26 | <span class="flag_stack"> | ||
| 27 | <%= flag("clock-off", Event.human_attribute_name(:allday)) if event.allday %> | ||
| 28 | </span> | ||
| 29 | <%= link_to event.display_title, event %> | ||
| 30 | </td> | ||
| 27 | <td><%= admin_datetime(event.start_time) %></td> | 31 | <td><%= admin_datetime(event.start_time) %></td> |
| 28 | <td><%= admin_datetime(event.end_time) %></td> | 32 | <td><%= admin_datetime(event.end_time) %></td> |
| 29 | <td class="rrule_cell"><span class="rrule_text"><%= rrule_with_break_opportunities(event.rrule) %></span></td> | 33 | <td class="rrule_cell"><span class="rrule_text"><%= rrule_with_break_opportunities(event.rrule) %></span></td> |
| 30 | <td><%= t("admin.common.#{event.allday ? "yes" : "no"}") %></td> | ||
| 31 | <td class="url_cell"><span class="truncate"><%= external_url_link(event.url) %></span></td> | 34 | <td class="url_cell"><span class="truncate"><%= external_url_link(event.url) %></span></td> |
| 32 | <td><%= event.node ? link_to(event.node.unique_name, node_path(event.node)) : "" %></td> | 35 | <td><%= event.node ? link_to(event.node.unique_name, node_path(event.node)) : "" %></td> |
| 33 | <td><%= link_to t(".edit_link"), edit_event_path(event) %></td> | 36 | <td><%= link_to t(".edit_link"), edit_event_path(event) %></td> |
