Skip to content

Commit

Permalink
Merge pull request #113 from kippnorcal/staging
Browse files Browse the repository at this point in the history
HH Tweaks - Remove Priority; Fix Menu Order
  • Loading branch information
iMark3000 authored Oct 23, 2024
2 parents e4414d0 + 09002bb commit 826ac62
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
2 changes: 1 addition & 1 deletion high_health/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ def high_health(request, school_level=None):
schools = Site.objects.filter(school_level=school_level).order_by("id")
else:
# Filtering out Stockton HS
schools = Site.objects.filter(school_level=school_level).exclude(id=36)
schools = Site.objects.filter(school_level=school_level).exclude(id=36).order_by("id")
context = {
"school_level": school_level,
"schools": schools,
Expand Down
12 changes: 0 additions & 12 deletions templates/high_health.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ <h1><strong>High Health:</strong> {{ school_level.display_name }}</h1>
<thead>
<tr class="small text-center">
<!--Essential Question renamed to Priority, but is still called EQ in models-->
<th>Priority</th>
<th>Metric</th>
<th>Updated</th>
{% for school in schools %}
Expand All @@ -39,17 +38,6 @@ <h1><strong>High Health:</strong> {{ school_level.display_name }}</h1>
<tbody>
{% for metric in metrics %}
<tr>
{% if metric.metric.essential_question.name == "Priority" %}
<td class="text-center eq" data-toggle="popover" data-trigger="hover"
title="{{ metric.metric.essential_question }}"
data-content="{{ metric.metric.essential_question.description }}">
P
</td>
{% else %}
<td class="text-center eq">
<!-- Intentionally left blank -->
</td>
{% endif %}
<td style="min-width:240px">
<i class="fas fa-info-circle text-primary pl-1 metric-def" data-toggle="popover" data-trigger="hover"
title="{{ metric.metric }}" data-content="{{ metric.metric.definition }}"></i>
Expand Down

0 comments on commit 826ac62

Please sign in to comment.