From 651ed40d59d735e63774f8d68bd2d9779e363dd0 Mon Sep 17 00:00:00 2001
From: Andreas Valder <andreasv@fsmpi.rwth-aachen.de>
Date: Mon, 29 Aug 2016 13:34:54 +0200
Subject: [PATCH] fixed course list

---
 templates/macros.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/macros.html b/templates/macros.html
index 5511ef8..53b1981 100644
--- a/templates/macros.html
+++ b/templates/macros.html
@@ -66,7 +66,7 @@
 {% endmacro %}
 
 {% macro course_list_item(course,show_semester=False) %}
-<li class="list-group-item {% if not course.visible %}list-group-item-danger{% endif %}">
+<li class="list-group-item {% if (not course.visible) or (not course.listed) %}list-group-item-danger{% endif %}">
 	<div class="row">
 		<a href=/course?courseid={{course.handle}}>
 			{% if show_semester %}
-- 
GitLab