move course material template to wiki source
authorStefano Zacchiroli <zack@upsilon.cc>
Fri, 27 Sep 2013 09:38:52 +0000 (11:38 +0200)
committerStefano Zacchiroli <zack@upsilon.cc>
Fri, 27 Sep 2013 09:38:52 +0000 (11:38 +0200)
templates/inline-course-material.tmpl [new file with mode: 0644]

diff --git a/templates/inline-course-material.tmpl b/templates/inline-course-material.tmpl
new file mode 100644 (file)
index 0000000..34f19b7
--- /dev/null
@@ -0,0 +1,9 @@
+<span class="course-material-entry">
+<TMPL_IF PERMALINK>
+<a href="<TMPL_VAR PERMALINK>"><TMPL_VAR TITLE></a>
+<TMPL_ELSE>
+<a href="<TMPL_VAR PAGEURL>"><TMPL_VAR TITLE></a>
+</TMPL_IF>
+—
+<TMPL_VAR CTIME>
+</span>