footer.html 958 B

1234567891011121314151617181920212223242526272829
  1. {% load i18n misago_poststags %}
  2. {% if post.acl.can_reply or post.acl.can_edit or post.acl.can_see_likes or post.acl.can_like %}
  3. <div class="panel-footer post-footer">
  4. {% if post.acl.can_like %}
  5. <button type="button" class="btn btn-default pull-left" disabled="disabled">
  6. {% if post.is_liked %}
  7. {% trans "Unlike" %}
  8. {% else %}
  9. {% trans "Like" %}
  10. {% endif %}
  11. </button>
  12. {% endif %}
  13. {% if post.acl.can_see_likes and post.last_likes %}
  14. <p class="pull-left">
  15. {% likes_label post %}
  16. </p>
  17. {% endif %}
  18. {% if post.acl.can_reply %}
  19. <button type="button" class="btn btn-default pull-right" disabled="disabled">
  20. {% trans "Reply" %}
  21. </button>
  22. {% endif %}
  23. {% if post.acl.can_edit %}
  24. <button type="button" class="btn btn-default pull-right" disabled="disabled">
  25. {% trans "Edit" %}
  26. </button>
  27. {% endif %}
  28. </div>
  29. {% endif %}