diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/templates/templates/training.ftl | 6 |
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> |