Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Hides closed classes with hide_full_classes Tag

Maybe there should be a different Tag for this, or the Tag should be
renamed to hide_full_or_closed_classes.
  • Loading branch information...
commit 9d94967274bc1f9b2f463134873dfc85ba8dea12 1 parent fcf4cfb
Jordan Moldow authored June 26, 2012
2  esp/templates/inclusion/program/class_catalog.html
... ...
@@ -1,7 +1,7 @@
1 1
 {% if show_class %}
2 2
   {% load class_render %}
3 3
 
4  
-    {% if not hide_full or not class.isFull %}
  4
+    {% if not hide_full or (not class.isFull and class.isRegOpen) %}
5 5
         <div class="show_class">
6 6
         <table cellpadding="0" cellspacing="0" {% if errormsg %}style="background: #ccc;" class="class_error"{% endif %}>
7 7
         {% render_class_core class %}

0 notes on commit 9d94967

Please sign in to comment.
Something went wrong with that request. Please try again.