summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJesse Morgan <jesse@jesterpm.net>2013-09-01 18:26:50 -0700
committerJesse Morgan <jesse@jesterpm.net>2013-09-01 18:26:50 -0700
commitaace86e8d6dfd7d5db7e882d631c5ea91983ccdb (patch)
tree31667291e6a1bec125bc1f13877515bad64e985a /src
parentd134bee0c88104960b130dd403894e11e0f29438 (diff)
Adding outline link to frontend
Diffstat (limited to 'src')
-rw-r--r--src/templates/templates/training.ftl6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/templates/templates/training.ftl b/src/templates/templates/training.ftl
index a6d30ea..1e17ace 100644
--- a/src/templates/templates/training.ftl
+++ b/src/templates/templates/training.ftl
@@ -38,7 +38,11 @@
<#list videos as video>
<article>
<div class="image <#if video.completed>completed</#if>" id="${video.id}"><a href="#" onclick="playVideo('${video.id}'); return false"><img src="${video.image!staticRoot+"/images/videoimage.jpg"}" alt="${video.title}" /></a></div>
- <h2>${video.title}</h2> <span class="duration"><@hms seconds=video.length /></span>
+ <h2>${video.title}</h2>
+ <span class="duration"><@hms seconds=video.length /></span>
+ <#if (video.pdf!"") != "">
+ <span class="pdf"><a href="${video.pdf}">Outline</a></span>
+ </#if>
</article>
</#list>
</div>