summaryrefslogtreecommitdiff
path: root/src/templates
diff options
context:
space:
mode:
authorJesse Morgan <jesse@jesterpm.net>2014-01-30 20:16:05 -0800
committerJesse Morgan <jesse@jesterpm.net>2014-01-30 20:37:54 -0800
commita193d18d96f6562abac4b9da6112cedde0c02933 (patch)
tree9c79a401c8a8cfa9429d54393eb0c6df2f849097 /src/templates
parentfa71cc132aba68276837261c852ec4464aec7004 (diff)
Updating Videos and Script.
Video numbers may now be decimals (i.e. 5.1, 5.2). If the number is 0 it is not displayed on the website. Updating the videos-from-csv.py script to distinguish between user facing video numbers and video ids. Also updating urls for many videos.
Diffstat (limited to 'src/templates')
-rw-r--r--src/templates/templates/training.ftl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/templates/templates/training.ftl b/src/templates/templates/training.ftl
index f40f4ce..3f5331e 100644
--- a/src/templates/templates/training.ftl
+++ b/src/templates/templates/training.ftl
@@ -37,7 +37,7 @@
<#list videos as video>
<article>
<div class="image <#if video.completed>completed</#if> <#if allowed>allowed</#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.number}. ${video.title}</h2>
+ <h2><#if video.number != "0">${video.number}. </#if>${video.title}</h2>
<span class="duration"><@hms seconds=video.length /></span>
<#if (video.pdf!"") != "">
<span class="pdf"><a href="${video.pdf}" target="_blank">Outline</a></span>