refactor: get rid of floats in deleted-message.tpl

isekai-main
Barış Soner Uşaklı 2 years ago
parent 967b9840cf
commit f055b7fb74

@ -1,11 +1,8 @@
<div component="topic/deleted/message" class="alert alert-warning mt-3{{{ if !deleted }}} hidden{{{ end }}} clearfix">
<span class="float-start">[[topic:deleted_message]]</span>
<span class="float-end">
<div component="topic/deleted/message" class="alert alert-warning mt-3{{{ if !deleted }}} hidden{{{ end }}} d-flex justify-content-between flex-wrap">
<span>[[topic:deleted_message]]</span>
<span>
{{{ if deleter }}}
<a href="{config.relative_path}/user/{deleter.userslug}">
<strong>{deleter.username}</strong>
</a>
<small class="timeago" title="{deletedTimestampISO}"></small>
<a class="fw-bold" href="{config.relative_path}/user/{deleter.userslug}">{deleter.username}</a> <small class="timeago" title="{deletedTimestampISO}"></small>
{{{ end }}}
</span>
</div>

@ -1,9 +1,6 @@
<div component="topic/merged/message" class="alert alert-warning mt-3 clearfix">
<span class="float-start">[[topic:merged_message, {config.relative_path}/topic/{mergeIntoTid}, {merger.mergedIntoTitle}]]</span>
<span class="float-end">
<a href="{config.relative_path}/user/{merger.userslug}">
<strong>{merger.username}</strong>
</a>
<small class="timeago" title="{mergedTimestampISO}"></small>
<div component="topic/merged/message" class="alert alert-warning mt-3 d-flex justify-content-between flex-wrap">
<span>[[topic:merged_message, {config.relative_path}/topic/{mergeIntoTid}, {merger.mergedIntoTitle}]]</span>
<span>
<a class="fw-bold" href="{config.relative_path}/user/{merger.userslug}">{merger.username}</strong></a> <small class="timeago" title="{mergedTimestampISO}"></small>
</span>
</div>
Loading…
Cancel
Save