HAMLLint: Fix `UnnecessaryInterpolation` and `UnnecessaryStringOutput` offences correctly
This commit is contained in:
parent
cd232bf7ee
commit
08c57ec94a
|
@ -4,7 +4,7 @@
|
|||
- if @broadcast_message.message.present?
|
||||
= render_broadcast_message(@broadcast_message)
|
||||
- else
|
||||
= ("Your message here")
|
||||
Your message here
|
||||
|
||||
= form_for [:admin, @broadcast_message], html: { class: 'broadcast-message-form form-horizontal js-quick-submit js-requires-input'} do |f|
|
||||
= form_errors(@broadcast_message)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
%tr.deployment
|
||||
%td
|
||||
%strong= ("##{deployment.iid}")
|
||||
%strong ##{deployment.iid}
|
||||
|
||||
%td
|
||||
= render 'projects/deployments/commit', deployment: deployment
|
||||
|
@ -8,7 +8,7 @@
|
|||
%td.build-column
|
||||
- if deployment.deployable
|
||||
= link_to [@project.namespace.becomes(Namespace), @project, deployment.deployable], class: 'build-link' do
|
||||
= ("#{deployment.deployable.name} (##{deployment.deployable.id})")
|
||||
#{deployment.deployable.name} (##{deployment.deployable.id})
|
||||
- if deployment.user
|
||||
by
|
||||
= user_avatar(user: deployment.user, size: 20)
|
||||
|
|
Loading…
Reference in New Issue