Commit 97f3c8f3 authored by Kushal Pandya's avatar Kushal Pandya

HAMLLint: Fix `TrailingWhitespace` offences

parent df4f896b
%p %p
#{link_to @abuse_report.user.name, user_url(@abuse_report.user)} #{link_to @abuse_report.user.name, user_url(@abuse_report.user)}
(@#{@abuse_report.user.username}) was reported for abuse by (@#{@abuse_report.user.username}) was reported for abuse by
#{link_to @abuse_report.reporter.name, user_url(@abuse_report.reporter)} #{link_to @abuse_report.reporter.name, user_url(@abuse_report.reporter)}
(@#{@abuse_report.reporter.username}). (@#{@abuse_report.reporter.username}).
%blockquote %blockquote
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
- path = oauth_authorized_application_path(0, token_id: token) - path = oauth_authorized_application_path(0, token_id: token)
- else - else
- path = oauth_authorized_application_path(application) - path = oauth_authorized_application_path(application)
= form_tag path do = form_tag path do
%input{:name => "_method", :type => "hidden", :value => "delete"}/ %input{:name => "_method", :type => "hidden", :value => "delete"}/
= submit_tag 'Revoke', onclick: "return confirm('Are you sure?')", class: 'btn btn-remove btn-sm' = submit_tag 'Revoke', onclick: "return confirm('Are you sure?')", class: 'btn btn-remove btn-sm'
= link_to namespace_project_find_file_path(@project.namespace, @project, @ref), class: 'btn btn-grouped shortcuts-find-file', rel: 'nofollow' do = link_to namespace_project_find_file_path(@project.namespace, @project, @ref), class: 'btn btn-grouped shortcuts-find-file', rel: 'nofollow' do
= icon('search') = icon('search')
%span Find File %span Find File
.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|
......
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
   
- merge_request.labels.each do |label| - merge_request.labels.each do |label|
= link_to_label(label, subject: merge_request.project, type: :merge_request) = link_to_label(label, subject: merge_request.project, type: :merge_request)
- if merge_request.tasks? - if merge_request.tasks?
   
%span.task-status %span.task-status
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
- if @merge_request.closed_event - if @merge_request.closed_event
by #{link_to_member(@project, @merge_request.closed_event.author, avatar: true)} by #{link_to_member(@project, @merge_request.closed_event.author, avatar: true)}
#{time_ago_with_tooltip(@merge_request.closed_event.created_at)} #{time_ago_with_tooltip(@merge_request.closed_event.created_at)}
%p %p
= succeed '.' do = succeed '.' do
The changes were not merged into The changes were not merged into
%span.label-branch= @merge_request.target_branch %span.label-branch= @merge_request.target_branch
...@@ -43,5 +43,3 @@ ...@@ -43,5 +43,3 @@
#{"Issue".pluralize(mr_issues_mentioned_but_not_closing.size)} #{"Issue".pluralize(mr_issues_mentioned_but_not_closing.size)}
!= markdown issues_sentence(mr_issues_mentioned_but_not_closing), pipeline: :gfm, author: @merge_request.author != markdown issues_sentence(mr_issues_mentioned_but_not_closing), pipeline: :gfm, author: @merge_request.author
#{mr_issues_mentioned_but_not_closing.size > 1 ? 'are' : 'is'} mentioned but will not be closed. #{mr_issues_mentioned_but_not_closing.size > 1 ? 'are' : 'is'} mentioned but will not be closed.
%h4 %h4
Project is archived Project is archived
%p %p
This merge request cannot be merged because archived projects cannot be written to. This merge request cannot be merged because archived projects cannot be written to.
%h4 %h4
= icon("exclamation-triangle") = icon("exclamation-triangle")
Nothing to merge from Nothing to merge from
%span.label-branch= source_branch_with_namespace(@merge_request) %span.label-branch= source_branch_with_namespace(@merge_request)
......
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