From 87ca088495551c200f88e1b2b592279c985917c8 Mon Sep 17 00:00:00 2001
From: Miguel Barao
Date: Wed, 7 Mar 2018 19:20:34 +0000
Subject: [PATCH] - added "Sair" option in the admin menu. - show solutions in review.
---
templates/admin.html | 2 ++
templates/review-question.html | 8 ++++++++
2 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/templates/admin.html b/templates/admin.html
index eb809bd..9f6487b 100644
--- a/templates/admin.html
+++ b/templates/admin.html
@@ -48,6 +48,8 @@
Autorizar todos
Desautorizar todos
+
+ Sair
diff --git a/templates/review-question.html b/templates/review-question.html
index f43dbd5..fc90d9e 100644
--- a/templates/review-question.html
+++ b/templates/review-question.html
@@ -41,6 +41,10 @@
{{ round(q['grade'] * q['points'], 2) }}
pontos
{{ q['comments'] }}
+ {% if 'solution' in q %}
+
+ {{ md('**Solução:** ' + q['solution']) }}
+ {% end %}
{% else %}
@@ -48,6 +52,10 @@
{{ round(q['grade'] * q['points'], 2) }}
pontos
{{ q['comments'] }}
+ {% if 'solution' in q %}
+
+ {{ md('**Solução:** ' + q['solution']) }}
+ {% end %}
{% end %}
--
libgit2 0.21.2