diff options
Diffstat (limited to 'app/views/content')
| -rw-r--r-- | app/views/content/_open_erfas_today.html.erb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app/views/content/_open_erfas_today.html.erb b/app/views/content/_open_erfas_today.html.erb new file mode 100644 index 0000000..3448af3 --- /dev/null +++ b/app/views/content/_open_erfas_today.html.erb | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | <div id="open_erfas_today"> | ||
| 2 | <h2><%= t(:open_today) %></h2> | ||
| 3 | <ul class="teasertext"> | ||
| 4 | <% occurrences.each do |occurrence| %> | ||
| 5 | <li> | ||
| 6 | <%= link_to_path occurrence.node.head.title, occurrence.node.unique_name %> | ||
| 7 | <span class="event_time"><%= occurrence.start_time.strftime("%H:%M") %></span> | ||
| 8 | </li> | ||
| 9 | <% end %> | ||
| 10 | </ul> | ||
| 11 | </div> | ||
