diff options
author | Jesse Morgan <jesse@jesterpm.net> | 2013-09-01 18:26:50 -0700 |
---|---|---|
committer | Jesse Morgan <jesse@jesterpm.net> | 2013-09-01 18:26:50 -0700 |
commit | 84d008be8a35d3a19607de669042ddb5c6540f0c (patch) | |
tree | 6a218f0917696c3b916bf9bfc4727299600a493e /src | |
parent | e19536418e7030db73293bbb2451a0a9cf699d32 (diff) |
Adding outline link to frontend
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> |