Skip to content

Commit c7bdacf

Browse files
committed
Set to display content title regardless of announcements
1 parent 8767683 commit c7bdacf

File tree

1 file changed

+2
-4
lines changed
  • esp/esp/themes/theme_data/fruitsalad/templates

1 file changed

+2
-4
lines changed

esp/esp/themes/theme_data/fruitsalad/templates/main.html

+2-4
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,8 @@
141141
{% block content_header %}
142142
<div id="content_header">
143143
<div class="corners"><div class="ul"></div><div class="ur"></div></div>
144+
145+
<h1 class="title">{% block content_title %}&nbsp;{% endblock %}</h1>
144146
{% if request.path|equal:"/teach/index.html" or request.path|equal:"/learn/index.html" %}
145147

146148
{% load preview %}
@@ -178,11 +180,7 @@ <h1>{{ announce.category|default:"" }}</h1>
178180
<div id="divannouncemore">
179181
<a href="/myesp/home/">more announcements...</a></div>
180182
{% endif %}
181-
{% else %}
182-
<!-- Default blank if there's no announcements -->
183183
{% endif %}
184-
{% else %}
185-
<h1 class="title">{% block content_title %}&nbsp;{% endblock %}</h1>
186184
{% endif %}
187185
</div>
188186
{% endblock %}

0 commit comments

Comments
 (0)