File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -18,14 +18,14 @@ <h3 class="page-title">Active Packets</h3>
1818 < tr >
1919 < th > Name</ th >
2020 < th > Signatures</ th >
21- {% if can_sign %}
21+ {% if info.onfloor or info.realm == "csh" %}
2222 < th > Sign</ th >
2323 {% endif %}
2424 </ tr >
2525 </ thead >
2626 < tbody >
2727 {% for packet in packets %}
28- {% set can_sign = ( info.onfloor and info.uid != packet.rit_username) or info.realm == "csh" %}
28+ {% set can_sign = info.onfloor or info.realm == "csh" %}
2929 < tr {% if packet.did_sign %}style ="background-color: #4caf505e " {% endif %} >
3030 < td >
3131 < a href ="/packet/{{ packet.rit_username }} ">
@@ -47,13 +47,13 @@ <h3 class="page-title">Active Packets</h3>
4747 </ td >
4848 {% if can_sign %}
4949 < td class ="sign-packet " align ="right ">
50- {% if not packet.did_sign %}
50+ {% if not packet.did_sign and info.uid != packet.rit_username %}
5151 < button class ="btn btn-sm btn-primary sign-button "
5252 data-freshman_uid ="{{ packet.rit_username }} "
5353 data-freshman_name ="{{ packet.name }} ">
5454 Sign
5555 </ button >
56- {% else %}
56+ {% elif info.uid != packet.rit_username %}
5757 < button class ="btn btn-sm btn-primary signed-button "
5858 disabled ="disabled "> < i
5959 class ="fa fa-check "> </ i > Signed
You can’t perform that action at this time.
0 commit comments