mirror of
https://github.com/Evolix/chexpire.git
synced 2024-05-07 19:18:39 +02:00
ChecksHelper frozen_string_literal: true
This commit is contained in:
parent
e5db8f1b96
commit
900bdb8b1e
|
@ -1,3 +1,5 @@
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
module ChecksHelper
|
module ChecksHelper
|
||||||
def check_row_class(check)
|
def check_row_class(check)
|
||||||
expiry_date = check.domain_expires_at
|
expiry_date = check.domain_expires_at
|
||||||
|
@ -50,7 +52,7 @@ module ChecksHelper
|
||||||
end
|
end
|
||||||
|
|
||||||
def check_button_scope_class(scope = nil)
|
def check_button_scope_class(scope = nil)
|
||||||
"btn btn-sm " << if scope && scoped_with?(scope)
|
"btn btn-sm " + if scope && scoped_with?(scope)
|
||||||
"btn-info active"
|
"btn-info active"
|
||||||
else
|
else
|
||||||
"btn-outline-info"
|
"btn-outline-info"
|
||||||
|
|
Loading…
Reference in a new issue