Give class channel_card to both pending and not.
This commit is contained in:
parent
c74b9523e4
commit
a697fabfff
1 changed files with 3 additions and 4 deletions
|
@ -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"] %}
|
||||||
|
|
Loading…
Reference in a new issue