[TEMPLATES][Cards][Note] Fix some issues with note minimal

This commit is contained in:
Diogo Peralta Cordeiro 2021-12-27 04:22:38 +00:00
parent 80afc0fa6c
commit 195618801b
Signed by: diogo
GPG Key ID: 18D2D35001FBFAB0

View File

@ -139,10 +139,6 @@
{{ block | raw }} {{ block | raw }}
</aside> </aside>
{% endfor %} {% endfor %}
{# {% if note_language is defined and note_language is not empty %}#}
{# <div title="{{ 'Note\'s language' | trans }}" class="h-entry-language">{{ note_language }}</div>#}
{# {% endif %}#}
</div> </div>
</article> </article>
{% endmacro macro_note %} {% endmacro macro_note %}
@ -155,16 +151,13 @@
{% set actor_url = actor.getUrl() %} {% set actor_url = actor.getUrl() %}
{% set mention = mention(actor) %} {% set mention = mention(actor) %}
<article class="h-entry hentry note"> <article class="h-entry hentry note" lang={{ note.getLanguageLocale() }}>
{{ block('note_sidebar') }} {{ block('note_sidebar') }}
<div class="note-wrapper"> <div class="note-wrapper">
<div tabindex="0" title="{{ 'Begin a note by the user: ' | trans }} {{ nickname }}." class="note-info"> {{ block('note_info') }}
{{ block('note_author') }}
</div> <section role="dialog" class="e-content entry-content note-content">
<section tabindex="0" role="dialog" class="e-content entry-content note-content">
{{ block('note_text') }} {{ block('note_text') }}
{{ block('note_attachments') }}
{{ block('note_links') }}
</section> </section>
</div> </div>
</article> </article>