mirror of
https://github.com/djohnlewis/stackdump
synced 2024-12-04 23:17:37 +00:00
Added a message for questions that have been closed.
This commit is contained in:
parent
6181d83cf3
commit
2954dd47ba
@ -296,6 +296,18 @@ li .post-comment-metadata {
|
||||
padding: 4px 7px;
|
||||
}
|
||||
|
||||
div.moderated {
|
||||
background-color: #F2F2F2;
|
||||
padding: 10px;
|
||||
text-align: center;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
div.moderated p {
|
||||
margin: 0;
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
div.answers {
|
||||
margin-top: 30px;
|
||||
}
|
||||
|
@ -66,6 +66,14 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% if r.question.closedDate %}
|
||||
<div class="row moderated">
|
||||
<div class="span16">
|
||||
<p>This question was <em>closed</em> by a moderator on <strong>{{ r.question.closedDate|format_datetime }}</strong>.</p>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div class="row answers">
|
||||
<div class="span16">
|
||||
{% if r.answers|length > 0 %}
|
||||
|
Loading…
Reference in New Issue
Block a user