friendica-github/view/templates/moderation/report/create/aside.tpl
Hypolite Petovan c312d11dab Add Report Create module
WIP
2023-07-09 18:32:43 -04:00

25 lines
No EOL
610 B
Smarty

<div class="widget">
<p><strong>{{$l10n.contact_title}}</strong></p>
{{if $contact}}
{{include file="contact/entry.tpl"}}
{{/if}}
<p><strong>{{$l10n.category_title}}</strong></p>
{{if $category}}
<p>{{$category}}</p>
{{/if}}
{{if $rules}}
<p><strong>{{$l10n.rules_title}}</strong></p>
<ol>
{{foreach $rules as $rule_id => $rule_text}}
<li value="{{$rule_id}}">{{$rule_text}}</li>
{{/foreach}}
</ol>
{{/if}}
{{if $comment}}
<p><strong>{{$l10n.comment_title}}</strong></p>
<p>{{$comment nofilter}}</p>
{{/if}}
{{if $posts}}
<p><strong>{{$l10n.posts_title}} ({{$posts}})</strong></p>
{{/if}}
</div>