view.html.twig 806 B

1234567891011121314151617181920212223
  1. {% extends 'stdgrid.html.twig' %}
  2. {% import '/cards/note/view.html.twig' as noteView %}
  3. {% block title %}{{ note.getActorNickname() ~ '\'s note' | trans }}{% endblock %}
  4. {% block stylesheets %}
  5. {{ parent() }}
  6. <link rel="stylesheet" href="{{ asset('assets/default_theme/css/pages/feeds.css') }}" type="text/css">
  7. {% endblock stylesheets %}
  8. {% block body %}
  9. {# Backwards compatibility with hAtom 0.1 #}
  10. <main class="feed" tabindex="0" role="feed">
  11. <div class="h-feed hfeed notes">
  12. {% if note is defined and note is not empty %}
  13. {{ noteView.macro_note(note, null) }}
  14. {% else %}
  15. <div id="empty-notes"><h1>{% trans %}No notes here.{% endtrans %}</h1></div>
  16. {% endif %}
  17. </div>
  18. </main>
  19. {% endblock body %}