Give class channel_card to both pending and not.

This commit is contained in:
voussoir 2021-06-04 20:44:57 -07:00
parent c74b9523e4
commit a697fabfff
No known key found for this signature in database
GPG key ID: 5F7554F8C26DACCB

View file

@ -17,8 +17,7 @@
{ {
width: 200px; width: 200px;
} }
.channel_card_no_pending, .channel_card
.channel_card_pending
{ {
margin: 8px 0; margin: 8px 0;
padding: 10px; padding: 10px;
@ -50,9 +49,9 @@
<div id="channels"> <div id="channels">
{% for channel in channels|sort(attribute='name', case_sensitive=False) %} {% for channel in channels|sort(attribute='name', case_sensitive=False) %}
{% if channel.has_pending() %} {% if channel.has_pending() %}
<div class="channel_card_pending"> <div class="channel_card channel_card_pending">
{% else %} {% else %}
<div class="channel_card_no_pending"> <div class="channel_card channel_card_no_pending">
{% endif %} {% endif %}
<a href="/channel/{{channel.id}}">{{channel.name}}</a> <a href="/channel/{{channel.id}}/pending">(p)</a> <a href="/channel/{{channel.id}}">{{channel.name}}</a> <a href="/channel/{{channel.id}}/pending">(p)</a>
{% if channel.automark not in [none, "pending"] %} {% if channel.automark not in [none, "pending"] %}