Show - Show empty message for no submitted links

This commit is contained in:
Evert Prants 2017-11-10 17:47:45 +02:00
parent f6895e7d25
commit 4adab93c3a
Signed by: evert
GPG Key ID: 1688DA83D222D0B5
3 changed files with 12 additions and 12 deletions

View File

@ -155,6 +155,7 @@ a.episode .submission_cnt {
text-align: center;
border-radius: 5px;
font-weight: bold;
cursor: pointer;
}
.vote-positive {
background-color: #a4ffa7;
@ -164,11 +165,8 @@ a.episode .submission_cnt {
background-color: #ffa6a6;
color: #ab0000;
}
.submission.buried .vote-btns{
opacity: 0.5;
}
.submission.buried a {
color: #d2d2d2;
.submission-list .submission.buried {
opacity: 0.3;
}
@media all and (max-width: 800px) {
.logo {

View File

@ -25,7 +25,7 @@
<div class="content">
{% if not recent %} Nothing to show {% endif %}
{% for show in recent %}
<a class="show-promo" href="#">
<a class="show-promo" href="/show/{{show.abbr}}">
<img class="artwork" src="/media/uploaded_resources/{{show.artwork}}">
<span>{{show.name}}</span>
</a>

View File

@ -26,6 +26,8 @@
<div class="vote-negative"><i class="fa fa-fw fa-thumbs-down"></i>&nbsp;{{sbm.negatives}}</div>
</div>
</div>
{% empty %}
<h3>Nobody has submitted any links yet.</h3>
{% endfor %}
</div>
</section>