Merged in [9637] from rjsparks@nostrum.com:
Color agenda/documents rows with position taken when viewing as an AD. Fixes bug #1679.
- Legacy-Id: 9657
Note: SVN reference [9637] has been migrated to Git commit edcaf46138
This commit is contained in:
commit
919a63a9b5
|
@ -1,8 +1,15 @@
|
|||
{# Copyright The IETF Trust 2015, All Rights Reserved #}{% load origin %}{% origin %}
|
||||
{% load widget_tweaks %}
|
||||
{% load ietf_filters %}
|
||||
{% load ballot_icon %}
|
||||
|
||||
<tr>
|
||||
<tr {% spaceless %}
|
||||
{% if color_row_positions %}
|
||||
{% with doc|ballotposition:user as pos %}
|
||||
{% if pos %}class="position-{{pos.slug}}-row"{% endif %}
|
||||
{% endwith %}
|
||||
{% endif %}
|
||||
{% endspaceless %}>
|
||||
|
||||
<td>
|
||||
{% if user.is_authenticated %}
|
||||
|
|
|
@ -60,7 +60,7 @@
|
|||
</thead>
|
||||
<tbody>
|
||||
{% for doc in section.docs %}
|
||||
{% include "doc/search/search_result_row.html" %}
|
||||
{% include "doc/search/search_result_row.html" with color_row_positions=True %}
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
|
@ -131,6 +131,13 @@ label.required:after { content: "\2217"; color: #a94442; font-weight: bold; }
|
|||
.position-abstain { background-color: #f69f74; } /* @brand-warning */
|
||||
.position-recuse { background-color: #808080; }
|
||||
.position-norecord { background-color: inherit; }
|
||||
.position-discuss-row,
|
||||
.position-block-row { background-color: #F1CBC8 !important ; } /* lighter variants of above */
|
||||
.position-yes-row { background-color: #E1FDD6 !important ; }
|
||||
.position-noobj-row { background-color: #F2FCEE !important ; }
|
||||
.position-abstain-row { background-color: #FAD0BB !important ; }
|
||||
.position-recuse-row { background-color: #D9D9D9 !important ; }
|
||||
.position-norecord-row { background-color: inherit; }
|
||||
.ballot-icon table td { border: 1px solid #ddd; height: 10px; width: 8px; }
|
||||
.ballot-icon table .my { border: 2px solid #000;}
|
||||
.ballot-icon table { margin: 0 0 10px 10px; }
|
||||
|
|
Loading…
Reference in a new issue