No public

master
Nick Sergeant 2012-04-13 13:05:49 -04:00
parent 560ceac176
commit cfd0452296
2 changed files with 13 additions and 0 deletions

View File

@ -970,6 +970,15 @@ div.profile {
}
}
}
div.empty-snipts {
background: rgba(128, 128, 128, .15);
font: bold 18px $Helvetica;
margin: 30px 15px 0 15px;
padding: 10px;
text-align: center;
text-shadow: 0 1px 1px #FFF;
@include border-radius(8px);
}
// Pages
body.detail {

View File

@ -14,6 +14,10 @@
{% autopaginate snipts 20 %}
{% for snipt in snipts %}
{% include "snipts/snipt-list.html" %}
{% empty %}
<div class="empty-snipts">
{{ user.username }} has no public snipts.
</div>
{% endfor %}
{% paginate %}
</section>