fix signatures
This commit is contained in:
parent
926948b76d
commit
9150d1b7cb
2 changed files with 3 additions and 3 deletions
|
@ -224,7 +224,7 @@
|
||||||
|
|
||||||
{% if post.poster.signature and post.poster.perms.changeSignature %}
|
{% if post.poster.signature and post.poster.perms.changeSignature %}
|
||||||
<div class="post__signature bbcode">
|
<div class="post__signature bbcode">
|
||||||
{{ post.poster.signature|raw|nl2br }}
|
{{ post.poster.signature()|raw }}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
@ -270,7 +270,7 @@
|
||||||
|
|
||||||
{% if user.signature and user.perms.changeSignature %}
|
{% if user.signature and user.perms.changeSignature %}
|
||||||
<div class="post__signature bbcode">
|
<div class="post__signature bbcode">
|
||||||
{{ user.signature|raw|nl2br }}
|
{{ user.signature()|raw }}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block settingsContent %}
|
{% block settingsContent %}
|
||||||
<div class="bbcode" id="settingsPreview" style="max-height: 500px; overflow-y: auto; background: #C2AEEE; box-shadow: inset 0 0 1em 1em #D3BFFF;">{{ user.signature()|raw|nl2br }}</div>
|
<div class="bbcode" id="settingsPreview" style="max-height: 500px; overflow-y: auto; background: #C2AEEE; box-shadow: inset 0 0 1em 1em #D3BFFF;">{{ user.signature()|raw }}</div>
|
||||||
<hr>
|
<hr>
|
||||||
<form enctype="multipart/form-data" method="post" action="javascript:;" onsubmit="updateSettings(this, '{{ route('settings.account.signature') }}');">
|
<form enctype="multipart/form-data" method="post" action="javascript:;" onsubmit="updateSettings(this, '{{ route('settings.account.signature') }}');">
|
||||||
<input type="hidden" name="session" value="{{ session_id() }}">
|
<input type="hidden" name="session" value="{{ session_id() }}">
|
||||||
|
|
Reference in a new issue