Commit 598d8cab authored by Kushal Pandya's avatar Kushal Pandya

HAMLLint: Fix `SpaceBeforeScript` offences

parent 6f6f546b
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
%br.clearfix %br.clearfix
-if @broadcast_messages.any? - if @broadcast_messages.any?
%table.table %table.table
%thead %thead
%tr %tr
......
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
= f.submit "Add System Hook", class: "btn btn-create" = f.submit "Add System Hook", class: "btn btn-create"
%hr %hr
-if @hooks.any? - if @hooks.any?
.panel.panel-default .panel.panel-default
.panel-heading .panel-heading
System hooks (#{@hooks.count}) System hooks (#{@hooks.count})
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
- if build[:allow_failure] - if build[:allow_failure]
%b Allowed to fail %b Allowed to fail
-else - else
%p %p
%b Status: %b Status:
syntax is incorrect syntax is incorrect
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
= link_to new_project_path, class: "btn btn-new" do = link_to new_project_path, class: "btn btn-new" do
New project New project
-if publicish_project_count > 0 - if publicish_project_count > 0
.blank-state .blank-state
.blank-state-icon .blank-state-icon
= icon("globe") = icon("globe")
......
- if current_application_settings.email_author_in_body - if current_application_settings.email_author_in_body
%div %div
#{link_to @issue.author_name, user_url(@issue.author)} wrote: #{link_to @issue.author_name, user_url(@issue.author)} wrote:
-if @issue.description - if @issue.description
= markdown(@issue.description, pipeline: :email, author: @issue.author) = markdown(@issue.description, pipeline: :email, author: @issue.author)
- if @issue.assignee_id.present? - if @issue.assignee_id.present?
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
- if current_application_settings.email_author_in_body - if current_application_settings.email_author_in_body
%div %div
#{link_to @issue.author_name, user_url(@issue.author)} wrote: #{link_to @issue.author_name, user_url(@issue.author)} wrote:
-if @issue.description - if @issue.description
= markdown(@issue.description, pipeline: :email, author: @issue.author) = markdown(@issue.description, pipeline: :email, author: @issue.author)
- if @issue.assignee_id.present? - if @issue.assignee_id.present?
......
...@@ -11,5 +11,5 @@ ...@@ -11,5 +11,5 @@
%p %p
Assignee: #{@merge_request.author_name} → #{@merge_request.assignee_name} Assignee: #{@merge_request.author_name} → #{@merge_request.assignee_name}
-if @merge_request.description - if @merge_request.description
= markdown(@merge_request.description, pipeline: :email, author: @merge_request.author) = markdown(@merge_request.description, pipeline: :email, author: @merge_request.author)
...@@ -8,5 +8,5 @@ ...@@ -8,5 +8,5 @@
%p %p
Assignee: #{@merge_request.author_name} → #{@merge_request.assignee_name} Assignee: #{@merge_request.author_name} → #{@merge_request.assignee_name}
-if @merge_request.description - if @merge_request.description
= markdown(@merge_request.description, pipeline: :email, author: @merge_request.author) = markdown(@merge_request.description, pipeline: :email, author: @merge_request.author)
...@@ -10,4 +10,4 @@ ...@@ -10,4 +10,4 @@
as administrator you need to configure as administrator you need to configure
- else - else
ask your GitLab administrator to configure ask your GitLab administrator to configure
== #{link_to 'OAuth integration', help_page_path("integration/bitbucket")}. = link_to 'OAuth integration', help_page_path("integration/bitbucket")
...@@ -10,4 +10,4 @@ ...@@ -10,4 +10,4 @@
as administrator you need to configure as administrator you need to configure
- else - else
ask your GitLab administrator to configure ask your GitLab administrator to configure
== #{link_to 'OAuth integration', help_page_path("integration/gitlab")}. = link_to 'OAuth integration', help_page_path("integration/gitlab")
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
= markdown_toolbar_button({icon: "check-square-o fw", data: { "md-tag" => "* [ ] ", "md-prepend" => true }, title: "Add a task list" }) = markdown_toolbar_button({icon: "check-square-o fw", data: { "md-tag" => "* [ ] ", "md-prepend" => true }, title: "Add a task list" })
.toolbar-group .toolbar-group
%button.toolbar-btn.js-zen-enter.has-tooltip.hidden-xs{ type: "button", tabindex: -1, aria: { label: "Go full screen" }, title: "Go full screen", data: { container: "body" } } %button.toolbar-btn.js-zen-enter.has-tooltip.hidden-xs{ type: "button", tabindex: -1, aria: { label: "Go full screen" }, title: "Go full screen", data: { container: "body" } }
=icon("arrows-alt fw") = icon("arrows-alt fw")
.md-write-holder .md-write-holder
= yield = yield
......
.top-area .top-area
.nav-text .nav-text
- full_count_title = "#{@public_forks_count} public and #{@private_forks_count} private" - full_count_title = "#{@public_forks_count} public and #{@private_forks_count} private"
== #{pluralize(@total_forks_count, 'fork')}: #{full_count_title} = "#{pluralize(@total_forks_count, 'fork')}: #{full_count_title}"
.nav-controls .nav-controls
= form_tag request.original_url, method: :get, class: 'project-filter-form', id: 'project-filter-form' do |f| = form_tag request.original_url, method: :get, class: 'project-filter-form', id: 'project-filter-form' do |f|
......
...@@ -20,6 +20,6 @@ ...@@ -20,6 +20,6 @@
- if @milestone.new_record? - if @milestone.new_record?
= f.submit 'Create milestone', class: "btn-create btn" = f.submit 'Create milestone', class: "btn-create btn"
= link_to "Cancel", namespace_project_milestones_path(@project.namespace, @project), class: "btn btn-cancel" = link_to "Cancel", namespace_project_milestones_path(@project.namespace, @project), class: "btn btn-cancel"
-else - else
= f.submit 'Save changes', class: "btn-save btn" = f.submit 'Save changes', class: "btn-save btn"
= link_to "Cancel", namespace_project_milestone_path(@project.namespace, @project, @milestone), class: "btn btn-cancel" = link_to "Cancel", namespace_project_milestone_path(@project.namespace, @project, @milestone), class: "btn btn-cancel"
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
.git-clone-holder.input-group .git-clone-holder.input-group
.input-group-btn .input-group-btn
-if allowed_protocols_present? - if allowed_protocols_present?
.clone-dropdown-btn.btn.btn-static .clone-dropdown-btn.btn.btn-static
%span %span
= enabled_project_button(project, enabled_protocol) = enabled_project_button(project, enabled_protocol)
......
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