Little bug fix + Default link for "Manage" action on filter-users
This commit is contained in:
parent
695fefe5ab
commit
e99c1bfc89
|
@ -214,7 +214,7 @@
|
|||
|
||||
<button onclick="if ({do.js}.users.suspend('{id}')) {
|
||||
E.element('.item[data-id="{id}"]').classList.add('suspended');
|
||||
this.querySelector('span'),innerText = 'Suspended'}"
|
||||
this.querySelector('span').innerText = 'Suspended'}"
|
||||
title="Suspend this user on the instance"
|
||||
class="btn mid red"><i class="fa fa-ban fa-fw"></i>
|
||||
<span>Suspend</span></button>
|
||||
|
|
|
@ -332,6 +332,7 @@ window.view.instance = {
|
|||
tpl = tpl.replaceAll('{mastodon:fields}', _fields);
|
||||
} else tpl = tpl.replaceAll('{mastodon:fields}', '');
|
||||
}
|
||||
tpl = tpl.replaceAll('{accountAdminLink}', 'javascript:void(0)');
|
||||
tpl = tpl.replaceAll('{note}', it.note.trim() === '' ?
|
||||
'<empty>' : window.view.instance.html_add_search_spans(
|
||||
html2text(it.note), atob(filter.profile)));
|
||||
|
|
Loading…
Reference in New Issue