public
Description: Ruby DCamp "D-Cap" Website
Clone URL: git://github.com/wayneeseguin/ruby-dcap.git
Added code for UI sessions, has not been tested for lack of data.
wayneeseguin (author)
Sun Jul 20 15:01:37 -0700 2008
commit  8917c5c4f38c2eed4343f935deca9f29e22d5825
tree    f7a99b5f684a792c71badbdbe41c7e44eab40575
parent  23f99599d964a1a875b441c9b26ea837af209258
...
8
9
10
 
 
11
...
8
9
10
11
12
13
0
@@ -8,4 +8,6 @@
0
 <script type="text/x-jquery-template" title="event">
0
   <h1>Event <%= name %></h1>
0
   <p><%= description %></p>
0
+
0
+ <%= partial("sessions", sessions) %>
0
 </script>
...
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
0
@@ -0,0 +1,15 @@
0
+<script type="text/x-jquery-template" title="sessions">
0
+ <h2>Sessions</h2>
0
+ <div class="sessions">
0
+ <% $.each(_context, function(index, session){ %>
0
+ <%= partial("session", session) %>
0
+ <% }); %>
0
+ </div>
0
+</script>
0
+
0
+<script type="text/x-jquery-template" title="session">
0
+ <div session_id="<%= id %>" class="session">
0
+ <h3><%= name %></h3>
0
+ <p><%= description %></p>
0
+ </div>
0
+</script>

Comments

    No one has commented yet.