File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -108,10 +108,9 @@ def display_dashboard():
108
108
housing ['points' ] = ldap_get_housing_points (user_name )
109
109
housing ['room' ] = ldap_get_room_number (user_name )
110
110
if housing ['room' ] == "N/A" :
111
- housing ['queue_pos' ] = get_queue_position (user_name )
111
+ housing ['queue_pos' ] = "%s / %s" % ( get_queue_position (user_name ), get_queue_length () )
112
112
else :
113
- housing ['queue_pos' ] = "On Floor"
114
- housing ['queue_len' ] = get_queue_length ()
113
+ housing ['queue_pos' ] = "N/A"
115
114
else :
116
115
housing = None
117
116
Original file line number Diff line number Diff line change @@ -240,7 +240,7 @@ <h3 class="panel-title">Housing Status</h3>
240
240
</ tr >
241
241
< tr >
242
242
< td class ="title "> Housing Queue Position</ td >
243
- < td > < span class ="pull-right "> {{housing['queue_pos']}} / {{housing['queue_len']}} </ span > </ td >
243
+ < td > < span class ="pull-right "> {{housing['queue_pos']}}</ span > </ td >
244
244
</ tr >
245
245
</ tbody >
246
246
</ table >
You can’t perform that action at this time.
0 commit comments