Commit 70d093f9 authored by Robert Speicher's avatar Robert Speicher

Correct remaining `Lint/UselessAssignment` haml-lint violations in EE

parent 16855d90
- import_data = f.object - import_data = f.object
- regen_data = { auth_method: 'ssh_public_key', regenerate_ssh_private_key: true } - regen_data = { auth_method: 'ssh_public_key', regenerate_ssh_private_key: true }
- ssh_key_auth = import_data.ssh_key_auth?
- ssh_public_key_present = import_data.ssh_public_key.present? - ssh_public_key_present = import_data.ssh_public_key.present?
.form-group .form-group
......
- pretty_name = defined?(@project) ? @project.full_name : 'namespace / path' - pretty_name = defined?(@project) ? @project.full_name : 'namespace / path'
- run_actions_text = "Perform common operations on GitLab project: #{pretty_name}"
.card .card
%p %p
......
...@@ -23,5 +23,4 @@ ...@@ -23,5 +23,4 @@
= render 'shared/billings/trial_status', namespace: namespace = render 'shared/billings/trial_status', namespace: namespace
- if namespace.eligible_for_trial? - if namespace.eligible_for_trial?
- namespace_billing_url = namespace.is_a?(Group) ? group_billings_url(namespace) : profile_billings_url
%p= link_to 'Start your free trial', new_gitlab_com_trial_url, class: 'btn btn-primary btn-inverted' %p= link_to 'Start your free trial', new_gitlab_com_trial_url, class: 'btn btn-primary btn-inverted'
- filter_placeholder = local_assigns.fetch(:filter_placeholder, 'Search')
.dropdown-page-one .dropdown-page-one
.issue-board-dropdown-content .issue-board-dropdown-content
%p %p
......
- milestone = local_assigns[:milestone] - milestone = local_assigns[:milestone]
- project = local_assigns[:project]
- burndown = burndown_chart(milestone) - burndown = burndown_chart(milestone)
- warning = data_warning_for(burndown) - warning = data_warning_for(burndown)
......
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