Wordpress 'participants' page template.
authorNelson Elhage <nelhage@mit.edu>
Wed, 30 Dec 2009 05:07:55 +0000 (00:07 -0500)
committerNelson Elhage <nelhage@mit.edu>
Wed, 30 Dec 2009 05:07:55 +0000 (00:07 -0500)
templates/users.tmpl [new file with mode: 0644]

diff --git a/templates/users.tmpl b/templates/users.tmpl
new file mode 100644 (file)
index 0000000..0c58f20
--- /dev/null
@@ -0,0 +1,22 @@
+      <table id='participants'>
+        <tr>
+          <th>Who</th>
+          <th>Blog link</th>
+          <th>Start Week</th>
+        </tr>
+% for u in userlist:
+        <tr>
+          <td><tt> ${u.username} </tt></td>
+          <td>
+           % if u.links:
+            % for a in u.links:
+           <a href="${a[1]}">${a[0]}</a>
+            % endfor
+           % else:
+             Undecided
+           % endif
+          </td>
+          <td> ${u.start} </td>
+        </tr>
+% endfor
+      </table>

Benjamin Mako Hill || Want to submit a patch?