From d1a2b0944fe2ee6fa3d71de464782a929f827733 Mon Sep 17 00:00:00 2001 From: Matt Lott <mattlott@live.com> Date: Tue, 1 Dec 2015 12:38:54 -0800 Subject: [PATCH] Add teachers link to /hoc --- app/templates/courses/hour-of-code-view.jade | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/app/templates/courses/hour-of-code-view.jade b/app/templates/courses/hour-of-code-view.jade index 63df72da6..571d8814f 100644 --- a/app/templates/courses/hour-of-code-view.jade +++ b/app/templates/courses/hour-of-code-view.jade @@ -1,6 +1,13 @@ extends /templates/base block content + .pull-right + if me.isAnonymous() + a(href="/teachers") Teachers, click here! + else + a(href="/courses/teachers") Teachers, click here! + br + h1.text-center Adventurers, welcome to our Hour of Code! #main-content @@ -55,4 +62,4 @@ block content li basic syntax to control your character li while loops to solve pesky puzzles li strings & variables to customize actions - li how to defeat an ogre (important life skills!) \ No newline at end of file + li how to defeat an ogre (important life skills!)