[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
1 changed files with 4 additions and 11 deletions

View File

@ -139,10 +139,6 @@
{{ block | raw }}
</aside>
{% 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>
</article>
{% endmacro macro_note %}
@ -155,16 +151,13 @@
{% set actor_url = actor.getUrl() %}
{% set mention = mention(actor) %}
<article class="h-entry hentry note">
<article class="h-entry hentry note" lang={{ note.getLanguageLocale() }}>
{{ block('note_sidebar') }}
<div class="note-wrapper">
<div tabindex="0" title="{{ 'Begin a note by the user: ' | trans }} {{ nickname }}." class="note-info">
{{ block('note_author') }}
</div>
<section tabindex="0" role="dialog" class="e-content entry-content note-content">
{{ block('note_info') }}
<section role="dialog" class="e-content entry-content note-content">
{{ block('note_text') }}
{{ block('note_attachments') }}
{{ block('note_links') }}
</section>
</div>
</article>