A Python content management system designed for kirsle.net featuring a blog, comments and photo albums. https://rophako.kirsle.net/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

37 lines
939 B

  1. {% extends "layout.html" %}
  2. {% block title %}Comment Preview{% endblock %}
  3. {% block content %}
  4. <h1>Comment Preview</h1>
  5. This is a preview of what your comment is going to look like once posted.<p>
  6. <div class="comment">
  7. <div class="comment-author">
  8. {% if gravatar %}
  9. <img src="{{ gravatar }}" alt="Avatar" width="96" height="96">
  10. {% else %}
  11. <img src="/static/avatars/default.png" alt="guest" width="96" height="96">
  12. {% endif %}<br>
  13. <strong>{% if session["login"] %}{{ session["username"] }}{% else %}guest{% endif %}</strong>
  14. </div>
  15. <strong>Posted on {{ pretty_time }} by {{ name or "Anonymous" }}.</strong><p>
  16. {{ preview|safe }}
  17. <div class="clear"></div>
  18. </div>
  19. {% if subscribe == "true" and contact %}
  20. <p>
  21. You will be subscribed to future comments on this thread. Notification
  22. e-mails will be sent to {{ contact }}.<p>
  23. {% endif %}
  24. <h2>Edit Comment</h2>
  25. {% include "comment/form.inc.html" %}
  26. {% endblock %}