Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added code for UI sessions, has not been tested for lack of data.

  • Loading branch information...
commit 8917c5c4f38c2eed4343f935deca9f29e22d5825 1 parent 23f9959
@wayneeseguin authored
Showing with 17 additions and 0 deletions.
  1. +2 −0  app/views/events/events.jqt
  2. +15 −0 app/views/sessions/sessions.jqt
View
2  app/views/events/events.jqt
@@ -8,4 +8,6 @@
<script type="text/x-jquery-template" title="event">
<h1>Event <%= name %></h1>
<p><%= description %></p>
+
+ <%= partial("sessions", sessions) %>
</script>
View
15 app/views/sessions/sessions.jqt
@@ -0,0 +1,15 @@
+<script type="text/x-jquery-template" title="sessions">
+ <h2>Sessions</h2>
+ <div class="sessions">
+ <% $.each(_context, function(index, session){ %>
+ <%= partial("session", session) %>
+ <% }); %>
+ </div>
+</script>
+
+<script type="text/x-jquery-template" title="session">
+ <div session_id="<%= id %>" class="session">
+ <h3><%= name %></h3>
+ <p><%= description %></p>
+ </div>
+</script>
Please sign in to comment.
Something went wrong with that request. Please try again.