diff --git a/files/templates/submission.html b/files/templates/submission.html index 284b05575..2e435b580 100644 --- a/files/templates/submission.html +++ b/files/templates/submission.html @@ -324,10 +324,17 @@ - {% elif not p.ghost %} - - - + {% else %} + {% if p.body %} + + + {% endif %} + + {% if not p.ghost %} + + + + {% endif %} {% endif %} @@ -591,6 +598,10 @@ Edit {% endif %} + {% if not (v and v.id == p.author_id) and p.body %} + View source + {% endif %} + {% if v and v.id==p.author_id %} {% if p.private %} Publish @@ -775,6 +786,10 @@ +{% if p.body and not (v and v.id == p.author_id) %} +
{{p.body.strip()}}
+{% endif %} +