diff options
author | Kushal Pandya <kushal@gitlab.com> | 2017-01-24 21:25:16 +0300 |
---|---|---|
committer | Kushal Pandya <kushal@gitlab.com> | 2017-01-24 21:29:54 +0300 |
commit | 08c57ec94ac622530c3bd401467ab6574b6de2e5 (patch) | |
tree | 8fc9f8d5cb191effbc700f6d9227b95cf002b65c /app/views/projects/deployments | |
parent | cd232bf7eee164810775bfbf5de3d830effdcff9 (diff) |
HAMLLint: Fix `UnnecessaryInterpolation` and `UnnecessaryStringOutput` offences correctly
Diffstat (limited to 'app/views/projects/deployments')
-rw-r--r-- | app/views/projects/deployments/_deployment.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/deployments/_deployment.html.haml b/app/views/projects/deployments/_deployment.html.haml index 204a97e6641..c468202569f 100644 --- a/app/views/projects/deployments/_deployment.html.haml +++ b/app/views/projects/deployments/_deployment.html.haml @@ -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) |