File tree Expand file tree Collapse file tree 1 file changed +6
-10
lines changed
intranet/templates/dashboard Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -129,19 +129,15 @@ <h2>{{ dashboard_header }}</h2>
129
129
< i class ="fas fa-plus "> </ i >
130
130
Post
131
131
</ a >
132
- {% elif "show_all" not in request.GET %}
133
- < a class ="button " href ="{% url view_announcements_url %}?{% query_transform request show_all=1 %} ">
134
- Show All
135
- </ a >
136
132
{% else %}
137
- {% if "show_all" not in request.GET %}
138
- < a class ="button " href ="{% url view_announcements_url %}?show_all=1 ">
139
- Show All
140
- </ a >
141
- {% else %}
133
+ {% if request.GET.show_all is not None and request.GET.show_all != "0" %}
142
134
< a class ="button " href ="{% url view_announcements_url %} ">
143
135
< i class ="fas fa-times "> </ i > Don't Show All
144
136
</ a >
137
+ {% else %}
138
+ < a class ="button " href ="{% url view_announcements_url %}?{% query_transform request show_all=1 %} ">
139
+ Show All
140
+ </ a >
145
141
{% endif %}
146
142
< a class ="button announcement-add " href ="{% url 'add_announcement' %} ">
147
143
< i class ="fas fa-plus "> </ i >
@@ -239,7 +235,7 @@ <h3 class="club-announcements-header">
239
235
It is currently in beta release and is only available to select clubs.
240
236
If your club is interested in participating in the rollout, contact
241
237
< a href ="
mailto:[email protected] "
class ="
announcement-link "
> [email protected] </ a >
242
- . The feature will be released to the entire TJ community in the near future.
238
+ . The feature will be released to the entire TJ community in the near future.
243
239
</ div >
244
240
{% endif %}
245
241
< div class ="club-announcement-filters ">
You can’t perform that action at this time.
0 commit comments