20
20
</ div >
21
21
< div class ="col-sm-5 col-md-4 col-lg-5 ">
22
22
< h4 class ="eval-name "> {{m['name']}}</ h4 >
23
- < h6 class ="eval-uid "> {{m['uid']}}</ h6 >
23
+ {% if not m['ldap_account'] %}
24
+ < span class ="label label-default "> Internal Account: {{m['uid']}}</ span >
25
+ {% else %}
26
+ < h6 class ="eval-uid "> {{ m['uid'] }}</ h6 >
27
+ {% endif %}
28
+
24
29
</ div >
25
30
<!---->
26
31
< div class ="col-sm-5 col-md-6 col-lg-5 vcenter ">
27
32
< div class ="row ">
28
33
< div class ="text-center ">
29
- {% if m['signatures_missed'] > 0 %}
30
- < div class ="eval-info-label danger "> Signatures Missed: {{m['signatures_missed']}}</ div >
31
- {% elif m['signatures_missed'] == 65535 %}
32
- < div class ="eval-info-label warning " > Packet Not Yet Complete </ div >
34
+ {% if m['signatures_missed'] == 0 %}
35
+ < div class ="eval-info-label success "> Signatures Missed: {{m['signatures_missed']}}</ div >
36
+ {% elif m['signatures_missed'] > 0 %}
37
+ < div class ="eval-info-label danger " > Signatures Missed: {{m['signatures_missed']}} </ div >
33
38
{% else %}
34
- < div class ="eval-info-label success " > Signatures Missed: {{m['signatures_missed']}} </ div >
39
+ < div class ="eval-info-label warning " > < span class =" glyphicon glyphicon-hourglass white " > </ span > Packet in Progress </ div >
35
40
{% endif %}
36
41
</ div >
37
42
< div class ="text-center ">
@@ -44,7 +49,7 @@ <h6 class="eval-uid">{{m['uid']}}</h6>
44
49
</ div >
45
50
< div class ="text-center ">
46
51
{% if m['freshman_project'] == "Pending" %}
47
- < div class ="eval-info-label warning "> Freshman Project: < span class ="glyphicon glyphicon-hourglass white "> </ span > </ div >
52
+ < div class ="eval-info-label warning "> < span class ="glyphicon glyphicon-hourglass white "> </ span > Project Results Pending </ div >
48
53
{% elif m['freshman_project'] == "Passed" %}
49
54
< div class ="eval-info-label success "> Freshman Project: < span class ="glyphicon glyphicon-ok-sign white "> </ span > </ div >
50
55
{% else %}
@@ -63,11 +68,9 @@ <h6 class="eval-uid">{{m['uid']}}</h6>
63
68
</ div >
64
69
</ div >
65
70
</ div >
66
- < div class ="row ">
67
-
71
+ {% if m['house_meetings_missed']|length != 0 or m['technical_seminars']|length != 0 or m['comments'] != "" %}
68
72
< button class ="btn-expand-panel " role ="button " data-toggle ="collapse " href ="#evalsCollapse-{{m['uid']}} " aria-expanded ="false " aria-controls ="evalsCollapse-{{m['uid']}} "> < span class ="glyphicon glyphicon glyphicon-menu-down "> </ span > </ button >
69
-
70
- </ div >
73
+ {% endif %}
71
74
< div class ="collapse " id ="evalsCollapse-{{m['uid']}} ">
72
75
{% if m['house_meetings_missed']|length > 0 %}
73
76
<!-- VV only display if missing house meetings VV -->
@@ -93,7 +96,7 @@ <h4>Missed House Meetings</h4>
93
96
</ table >
94
97
{% endif %}
95
98
<!-- ^^ HOUSE MEETINGS TABLE -->
96
- {% if True or m['technical_seminars']|length > 0 %}
99
+ {% if m['technical_seminars']|length > 0 %}
97
100
98
101
< h4 > Technical Seminars</ h4 >
99
102
< table class ="table ">
@@ -105,15 +108,18 @@ <h4>Technical Seminars</h4>
105
108
{% endfor %}
106
109
</ tbody >
107
110
</ table >
108
- {% endif %} {% if m['social_events'] != "" %}
111
+ {% endif %}
112
+ {% if m['social_events'] != "" %}
109
113
110
114
< h4 > Social Events</ h4 >
111
115
< p > {{m['social_events']}}</ p >
112
116
{% endif %}
113
117
118
+ {% if m['comments'] != "" %}
114
119
115
- < h4 > Other Notes </ h4 >
120
+ < h4 > Other Comments </ h4 >
116
121
< p > {{m['comments']}}</ p >
122
+ {% endif %}
117
123
</ div >
118
124
</ div >
119
125
0 commit comments