Fix haml-lint UnnecessaryStringOutput for views (#27531)
This commit is contained in:
parent
c85e0a6b04
commit
c926f5fd67
17 changed files with 22 additions and 42 deletions
|
|
@ -5,16 +5,16 @@
|
|||
- if relay.accepted?
|
||||
%span.positive-hint
|
||||
= fa_icon('check')
|
||||
= ' '
|
||||
|
||||
= t 'admin.relays.enabled'
|
||||
- elsif relay.pending?
|
||||
= fa_icon('hourglass')
|
||||
= ' '
|
||||
|
||||
= t 'admin.relays.pending'
|
||||
- else
|
||||
%span.negative-hint
|
||||
= fa_icon('times')
|
||||
= ' '
|
||||
|
||||
= t 'admin.relays.disabled'
|
||||
%td
|
||||
- if relay.accepted?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue