From 4100cf8af9a638a38c4e42cd7d9f3c0da7af3782 Mon Sep 17 00:00:00 2001 From: Jesse Morgan Date: Sat, 9 Nov 2013 21:21:44 -0800 Subject: Enforcing the viewing order of videos. Also made the Outline links more noticeable. --- src/templates/templates/training.ftl | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'src/templates') diff --git a/src/templates/templates/training.ftl b/src/templates/templates/training.ftl index c560622..80c5ca4 100644 --- a/src/templates/templates/training.ftl +++ b/src/templates/templates/training.ftl @@ -24,7 +24,12 @@ @@ -36,14 +41,18 @@
+ <#assign allowed = true> <#list videos as video>
-
${video.title}
-

${video.title}

+
${video.title}
+

${video.number}. ${video.title}

<@hms seconds=video.length /> <#if (video.pdf!"") != ""> Outline + <#if allowed && !video.completed> + <#assign allowed = false> +
-- cgit v1.2.3