forked from treehouse/mastodon
signup-info-prompt
parent
1a37d7e252
commit
1c379b7ef4
|
@ -4,7 +4,7 @@ class SearchService < BaseService
|
||||||
attr_accessor :query, :account, :limit, :resolve
|
attr_accessor :query, :account, :limit, :resolve
|
||||||
|
|
||||||
def call(query, limit, resolve = false, account = nil)
|
def call(query, limit, resolve = false, account = nil)
|
||||||
@query = query
|
@query = query.strip
|
||||||
@account = account
|
@account = account
|
||||||
@limit = limit
|
@limit = limit
|
||||||
@resolve = resolve
|
@resolve = resolve
|
||||||
|
|
|
@ -6,8 +6,8 @@
|
||||||
.card__bio
|
.card__bio
|
||||||
%h1.name
|
%h1.name
|
||||||
%span.p-name.emojify= display_name(account)
|
%span.p-name.emojify= display_name(account)
|
||||||
%small
|
%small<
|
||||||
%span @#{account.local_username_and_domain}
|
%span>< @#{account.local_username_and_domain}
|
||||||
= fa_icon('lock') if account.locked?
|
= fa_icon('lock') if account.locked?
|
||||||
|
|
||||||
- if Setting.show_staff_badge
|
- if Setting.show_staff_badge
|
||||||
|
|
Loading…
Reference in New Issue