mirror of
https://github.com/Evolix/chexpire.git
synced 2024-04-26 14:00:50 +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
|
||||
def check_row_class(check)
|
||||
expiry_date = check.domain_expires_at
|
||||
|
@ -50,7 +52,7 @@ module ChecksHelper
|
|||
end
|
||||
|
||||
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"
|
||||
else
|
||||
"btn-outline-info"
|
||||
|
|
Loading…
Reference in a new issue