Skip to content

Commit f0b779c

Browse files
Add no intro evals message, fix dashboard glyphicon
1 parent 4fe40c9 commit f0b779c

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

conditional/templates/dashboard.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ <h3 class="panel-title">Missed House Meetings</h3>
277277
{% endif %}
278278

279279
{% if cm_attendance_len == 0 %}
280-
<div class="alert alert-warning">You have not attended any committee meetings.</div>
280+
<div class="alert alert-warning"><span class="glyphicon glyphicon-exclamation-sign white" style="padding-right:5px"></span> You have not attended any committee meetings.</div>
281281
{% else %}
282282
<div class="panel panel-default">
283283
<div class="panel-heading">

conditional/templates/intro_evals.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{% extends "nav.html" %} {% block body %}
22
<div class="container main">
3+
{% if members|length > 0 %}
34
{% for m in members %}
45
<div class="panel panel-default">
56
<div class="panel-body eval-panel">
@@ -113,8 +114,9 @@ <h4>Other Notes</h4>
113114
</div>
114115

115116
</div>
116-
117-
118117
{% endfor %}
118+
{% else %}
119+
<div class="alert alert-info" role="alert"><span class="glyphicon glyphicon-info-sign white" style="padding-right:5px"></span> There are currently no active intro members.</div>
120+
{% endif %}
119121
</div>
120122
{% endblock %}

0 commit comments

Comments
 (0)