Skip to content

Commit

Permalink
issue #472 completed
Browse files Browse the repository at this point in the history
  • Loading branch information
ayeshamk committed Jul 29, 2021
1 parent 308b8a0 commit a13ef7b
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions server_py/flatgov/templates/bills/detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ <h5 class="pr-3"><b>Committees of Jurisdiction:</b></h5>
<th scope="col">Current Assigned Committees</th>
<th scope="col">Party</th>
<!--th scope="col">Rank</th-->
<th scope="col">Position</th>
<th scope="col">Member of Congress</th>
</tr>
</thead>
Expand All @@ -149,6 +150,16 @@ <h5 class="pr-3"><b>Committees of Jurisdiction:</b></h5>
{% endif %}
<td>{{ cosponsor.committee_name }}</td>
<td>{{ cosponsor.party|slice:":1" }}</td>
<td>
{% if cosponsor.party|slice:":1" == "D" and cosponsor.rank == 1 %}
Chair member
{% elif cosponsor.party|slice:":1" == "R" and cosponsor.rank == 1 %}
Ranking member
{% else %}
Member
{% endif %}

</td>
<!--td>{{ cosponsor.rank }}</td-->
<td>
{% if cosponsor.current %}
Expand Down Expand Up @@ -445,6 +456,7 @@ <h6 class="pt-3">
<th scope="col">Bills</th>
<th scope="col">Current Assigned Committees</th>
<th scope="col">Party</th>
<th scope="col">Position</th>
<!--th scope="col">Rank</th-->
</tr>
</thead>
Expand Down Expand Up @@ -472,6 +484,16 @@ <h6 class="pt-3">
<!--td>
{{cosponsor.ranks|join:", "}}
</td-->
<td>
{% if cosponsor.party|slice:":1" == "D" and 1 in cosponsor.ranks %}
Chair member
{% elif cosponsor.party|slice:":1" == "R" and 1 in cosponsor.ranks %}
Ranking member
{% else %}
Member
{% endif %}

</td>
</tr>
{% endif %}
{% endfor %}
Expand All @@ -489,6 +511,7 @@ <h6 class="pt-3">
<th scope="col">Bills</th>
<th scope="col">Current Assigned Committees</th>
<th scope="col">Party</th>
<th scope="col">Position</th>
<!--th scope="col">Rank</th-->
</tr>
</thead>
Expand All @@ -511,6 +534,16 @@ <h6 class="pt-3">
{{ cosponsor.committees_named|join:", " }}
</td>
<td>{{ cosponsor.party|slice:":1"}}</td>
<td>
{% if cosponsor.party|slice:":1" == "D" and 1 in cosponsor.ranks %}
Chair member
{% elif cosponsor.party|slice:":1" == "R" and 1 in cosponsor.ranks %}
Ranking member
{% else %}
Member
{% endif %}

</td>
<!--td>
{{cosponsor.ranks|join:", "}}
</td-->
Expand Down

0 comments on commit a13ef7b

Please sign in to comment.