From bfdd320f64d1ce54edf625e759c882c861c54e5d Mon Sep 17 00:00:00 2001 From: Zambom Date: Fri, 21 Oct 2016 18:07:56 -0300 Subject: [PATCH] Adapting html to only show view button if subscribed [Issue: #195] --- courses/templates/course/view.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/courses/templates/course/view.html b/courses/templates/course/view.html index 5495e66..9311e66 100644 --- a/courses/templates/course/view.html +++ b/courses/templates/course/view.html @@ -196,7 +196,7 @@
{% if request.GET.category == 'all' or none or request.GET.category == '' %} {% for subject in subjects %} -
+
- {% trans 'View Subject' %}
+ {% trans 'View Subject' %}
{% endfor %} {% else %} {% for subject in subjects_category %} {% if subject.category.name == request.GET.category %} -
+
- {% trans 'View Subject' %}
+ {% trans 'View Subject' %}
{% endif %} -- libgit2 0.21.2