summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/templates/templates/training.ftl6
-rw-r--r--web/style.css4
2 files changed, 9 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>
diff --git a/web/style.css b/web/style.css
index b374150..0f70bd6 100644
--- a/web/style.css
+++ b/web/style.css
@@ -261,6 +261,10 @@ footer a:hover {
margin: -19px 0 0 -19px;
}
+#videos .pdf {
+ float: right;
+}
+
#thefeed {
float: left;
width: 30%;