Skip to content

Commit

Permalink
Fix Layout/MultilineHashBraceLayout haml_lint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardoj committed Sep 26, 2022
1 parent 75d6b2a commit c424f55
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
content: '<p>Filter your workflow runs by the current state</p>
<p><b>Succeeded: </b>Workflow run execution was successful</p>
<p><b>Running: </b>Workflow run is still in progress</p>
<p><b>Failed: </b>Workflow run failed at some point</p>'
} }
<p><b>Failed: </b>Workflow run failed at some point</p>' } }
= render WorkflowRunFilterLinkComponent.new(token: @token, text: 'Succeeded', amount: @count['success'],
filter_item: { status: 'success' }, selected_filter: @selected_filter)
= render WorkflowRunFilterLinkComponent.new(token: @token, text: 'Running', amount: @count['running'],
Expand All @@ -21,8 +20,7 @@
content: '<p>Filter your workflow runs by the event reported by the SCM,
which triggered the execution in the Open Build Service</p>
<p><b>Pull/Merge request: </b>A pull/merge request got opened against a selected branch</p>
<p><b>Push: </b>A push event occured on a selected branch</p>'
} }
<p><b>Push: </b>A push event occured on a selected branch</p>' } }
= render WorkflowRunFilterLinkComponent.new(token: @token, text: 'Pull/Merge Request', amount: @count['pull_request'],
filter_item: { generic_event_type: 'pull_request' }, selected_filter: @selected_filter)
= render WorkflowRunFilterLinkComponent.new(token: @token, text: 'Push', amount: @count['push'],
Expand Down
3 changes: 1 addition & 2 deletions src/api/app/views/webui/distributions/new.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
content: 'Variants are distributions of the same general kind that only
differ in the set of packages they include. You should consult
the distributions documentation to learn more about the variants.
It is only possible to add one distribution variant as repository.'
} }
It is only possible to add one distribution variant as repository.' } }
\:
- variants.each do |variant|
= form_tag(toggle_project_distributions_path, remote: true, id: "distribution-#{variant.id}-form") do
Expand Down

0 comments on commit c424f55

Please sign in to comment.