templates/timeline-markup.erb in timeline_setter-0.3.0 vs templates/timeline-markup.erb in timeline_setter-0.3.1
- old
+ new
@@ -2,6 +2,30 @@
<script type="text/javascript">
var currentTimeline = TimelineSetter.Timeline.boot(
<%= self.to_json %>,
<%= self.config_json %>
);
-</script>
+</script>
+<noscript>
+ <table>
+ <thead>
+ <tr>
+ <th>date</th>
+ <th>series</th>
+ <th>description</th>
+ <th>link</th>
+ <th>html</th>
+ </tr>
+ </thead>
+ <tbody>
+ <% for @event in @events %>
+ <tr>
+ <td><%= @event[:date] %></td>
+ <td><%= @event[:series] %></td>
+ <td><%= @event[:description] %></td>
+ <td><%= @event[:link] %></td>
+ <td><%= @event[:html] %></td>
+ </tr>
+ <% end %>
+ </tbody>
+ </table>
+</noscript>
\ No newline at end of file