Skip to content
Browse files

change dictionary list to table for timetable

  • Loading branch information...
1 parent 5059ec4 commit d59c6190c699986e6e2d79b4b6377188c260899e @wetmore committed Apr 20, 2012
Showing with 7 additions and 5 deletions.
  1. +7 −5 app/index.html
View
12 app/index.html
@@ -58,23 +58,25 @@
<p class="store-time-info"><%= storeTimeInfo %></p>
<p class="times-head">Hours</p>
<div class="times-body">
- <dl>
+ <table>
<% _.each(times, function(hours) { %>
<%= hours_template({ hours: hours }) %>
<% }); %>
- </dl>
+ </table>
</div>
</div>
</div>
</script>
<script type="text/template" id="hours-template">
- <dt><%= hours.day %></dt>
+ <tr>
+ <td><%= hours.day %></td>
<% if (hours.open === 'F') { %>
- <dd>Closed</dd>
+ <td>Closed</td>
<% } else { %>
- <dd><%= hours.open %> - <%= hours.close %></dd>
+ <td><%= hours.open %> - <%= hours.close %></td>
<% } %>
+ </tr>
</script>
</body>
</html>

0 comments on commit d59c619

Please sign in to comment.
Something went wrong with that request. Please try again.