mirror of
https://github.com/djohnlewis/stackdump
synced 2025-04-04 16:53:27 +00:00
Added a message for questions that have been closed.
This commit is contained in:
parent
6181d83cf3
commit
2954dd47ba
python
@ -296,6 +296,18 @@ li .post-comment-metadata {
|
|||||||
padding: 4px 7px;
|
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 {
|
div.answers {
|
||||||
margin-top: 30px;
|
margin-top: 30px;
|
||||||
}
|
}
|
||||||
|
@ -66,6 +66,14 @@
|
|||||||
</div>
|
</div>
|
||||||
</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="row answers">
|
||||||
<div class="span16">
|
<div class="span16">
|
||||||
{% if r.answers|length > 0 %}
|
{% if r.answers|length > 0 %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user