ba131bdb16
[PLUGINS][Oomox] Fixed issue where resetting colours when no entity was present would lead to an error (it expected an entity, but NULL was given)
27 lines
1.0 KiB
Twig
27 lines
1.0 KiB
Twig
{% extends 'base.html.twig' %}
|
|
{% import '/cards/macros/note.html.twig' as noteView %}
|
|
|
|
{% block stylesheets %}
|
|
{{ parent() }}
|
|
<link rel="stylesheet" href="{{ asset('assets/default_theme/pages/feeds.css') }}" type="text/css">
|
|
{% endblock stylesheets %}
|
|
|
|
{% block body %}
|
|
{% if note is defined or actor is defined %}
|
|
<div class="frame-section-padding">
|
|
{% if note is defined and note is not null %}
|
|
{{ noteView.note_vanilla(note, {}) }}
|
|
{% elseif actor is defined and actor is not null %}
|
|
{% include 'cards/blocks/profile.html.twig' with {'actor': actor} only %}
|
|
{% endif %}
|
|
</div>
|
|
{% endif %}
|
|
{% if tags_form is not null %}
|
|
<p>{{ label }}</p>
|
|
{{ form(tags_form) }}
|
|
{% endif %}
|
|
<div class="frame-section-button-like">
|
|
<a href="{{ url('settings', {'open': 'settings-muting-' ~ type ~ '-tags-details'}) }}">{% trans %}Go to %type% muting settings{% endtrans %}</a>
|
|
</div>
|
|
{% endblock %}
|