BigW Consortium Gitlab

Commit 08c57ec9 by Kushal Pandya

HAMLLint: Fix `UnnecessaryInterpolation` and `UnnecessaryStringOutput` offences correctly

parent cd232bf7
......@@ -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)
......
%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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment