mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-23 07:26:22 +00:00
fixup! fix: facilitar la búsqueda de instancias en la lista #15563
This commit is contained in:
parent
ac38343a21
commit
79e6ce7872
1 changed files with 2 additions and 4 deletions
|
@ -1,15 +1,13 @@
|
||||||
- usuaries = instance.content.dig('usage', 'users', 'active_month')
|
- usuaries = instance.content.dig('usage', 'users', 'active_month')
|
||||||
- usuaries ||= instance.content.dig('stats', 'user_count')
|
- usuaries ||= instance.content.dig('stats', 'user_count')
|
||||||
- title = sanitize(instance.content['title'])
|
- title = sanitize(instance.content['title'])
|
||||||
- title ||= instance.hostname
|
|
||||||
|
|
||||||
.row.no-gutters.pt-2
|
.row.no-gutters.pt-2
|
||||||
.col-1
|
.col-1
|
||||||
= render 'components/checkbox', id: instance.hostname, form: form, name: 'instance_moderation[]', value: instance_moderation.id, data: { target: 'select-all.input' }
|
= render 'components/checkbox', id: instance.hostname, form: form, name: 'instance_moderation[]', value: instance_moderation.id, data: { target: 'select-all.input' }
|
||||||
.col-11
|
.col-11
|
||||||
%h4
|
%h4
|
||||||
%a{ href: instance.uri }
|
%a{ href: instance.uri }= title || instance.hostname
|
||||||
= title
|
|
||||||
- if title.present?
|
- if title.present?
|
||||||
= " (#{instance.hostname})".html_safe
|
= " (#{instance.hostname})".html_safe
|
||||||
.content
|
.content
|
||||||
|
|
Loading…
Reference in a new issue