Skip to content
Snippets Groups Projects
Commit dd5ffd9c authored by Kushal Pandya's avatar Kushal Pandya
Browse files

HAMLLint: Fix `ImplicitDiv` offences

parent 7157f585
No related branches found
No related tags found
No related merge requests found
Showing
with 24 additions and 24 deletions
Loading
Loading
@@ -19,5 +19,5 @@
= link_to ci_lint_path, class: 'btn btn-default' do
%span CI Lint
 
%div.content-list.builds-content-list
.content-list.builds-content-list
= render "table", builds: @builds, project: @project
Loading
Loading
@@ -8,7 +8,7 @@
= link_to new_namespace_project_fork_path(@project.namespace, @project), title: 'Fork project', class: 'btn' do
= custom_icon('icon_fork')
%span Fork
%div.count-with-arrow
.count-with-arrow
%span.arrow
= link_to namespace_project_forks_path(@project.namespace, @project), title: 'Forks', class: 'count' do
= @project.forks_count
Loading
Loading
@@ -6,7 +6,7 @@
- else
= icon('star-o')
%span Star
%div.count-with-arrow
.count-with-arrow
%span.arrow
%span.count.star-count
= @project.star_count
Loading
Loading
@@ -15,7 +15,7 @@
= link_to new_user_session_path, class: 'btn has-tooltip star-btn', title: 'You must sign in to star a project' do
= icon('star')
Star
%div.count-with-arrow
.count-with-arrow
%span.arrow
%span.count
= @project.star_count
Loading
Loading
@@ -8,7 +8,7 @@
- if @commit.status
= render "ci_menu"
- else
%div.block-connector
.block-connector
= render "projects/diffs/diffs", diffs: @diffs
= render "projects/notes/notes_with_form"
- if can_collaborate_with_project?
Loading
Loading
- commits, hidden = limited_commits(@commits)
- commits = Commit.decorate(commits, @project)
 
%div.panel.panel-default
.panel.panel-default
.panel-heading
Commits (#{@commits.count})
- if hidden > 0
Loading
Loading
%div.branch-commit
.branch-commit
- if deployment.ref
.icon-container
= deployment.tag? ? icon('tag') : icon('code-fork')
Loading
Loading
Loading
Loading
@@ -12,7 +12,7 @@
%p.image-info= "#{number_to_human_size file.size}"
- else
.image
%div.two-up.view
.two-up.view
%span.wrap
.frame.deleted
%a{href: namespace_project_blob_path(@project.namespace, @project, tree_join(diff_file.old_ref, diff.old_path))}
Loading
Loading
@@ -38,7 +38,7 @@
%b H:
%span.meta-height
 
%div.swipe.view.hide
.swipe.view.hide
.swipe-frame
.frame.deleted
%img{src: old_file_raw_path, alt: diff.old_path}
Loading
Loading
@@ -49,7 +49,7 @@
%span.top-handle
%span.bottom-handle
 
%div.onion-skin.view.hide
.onion-skin.view.hide
.onion-skin-frame
.frame.deleted
%img{src: old_file_raw_path, alt: diff.old_path}
Loading
Loading
/ Side-by-side diff view
%div.text-file.diff-wrap-lines.code.js-syntax-highlight{ data: diff_view_data }
.text-file.diff-wrap-lines.code.js-syntax-highlight{ data: diff_view_data }
%table
- last_line = 0
- diff_file.parallel_diff_lines.each do |line|
Loading
Loading
Loading
Loading
@@ -32,7 +32,7 @@
.empty_wrapper
%h3.page-title-empty
Command line instructions
%div.git-empty
.git-empty
%fieldset
%h5 Git global setup
%pre.light-well
Loading
Loading
Loading
Loading
@@ -11,7 +11,7 @@
%li.file-finder
%input#file_find.form-control.file-finder-input{type: "text", placeholder: 'Find by path', autocomplete: 'off'}
 
%div.tree-content-holder
.tree-content-holder
.table-holder
%table.table.files-slider{class: "table_#{@hex_path} tree-table table-striped" }
%tbody
Loading
Loading
%div#modal_merge_info.modal
#modal_merge_info.modal
.modal-dialog
.modal-content
.modal-header
Loading
Loading
- if @merge_request_diffs.size > 1
.mr-version-controls
%div.mr-version-menus-container.content-block
.mr-version-menus-container.content-block
Changes between
%span.dropdown.inline.mr-version-dropdown
%a.dropdown-toggle.btn.btn-default{ data: {toggle: :dropdown} }
Loading
Loading
Loading
Loading
@@ -77,7 +77,7 @@
- if git_import_enabled?
= link_to "#", class: 'btn js-toggle-button import_git' do
= icon('git', text: 'Repo by URL')
%div.import_gitlab_project
.import_gitlab_project
- if gitlab_project_import_enabled?
= link_to new_import_gitlab_project_path, class: 'btn btn_import_gitlab_project project-submit' do
= icon('gitlab', text: 'GitLab export')
Loading
Loading
Loading
Loading
@@ -36,7 +36,7 @@
= link_to ci_lint_path, class: 'btn btn-default' do
%span CI Lint
 
%div.content-list.pipelines
.content-list.pipelines
- if @pipelines.blank?
%div
.nothing-here-block No pipelines to show
Loading
Loading
Loading
Loading
@@ -2,7 +2,7 @@
- page_title "Pipeline"
= render "projects/pipelines/head"
 
%div.js-pipeline-container{ class: container_class, data: { controller_action: "#{controller.action_name}" } }
.js-pipeline-container{ class: container_class, data: { controller_action: "#{controller.action_name}" } }
- if @commit
= render "projects/pipelines/info"
 
Loading
Loading
Loading
Loading
@@ -15,4 +15,4 @@
.row-content-block.top-block.content-component-block
= render 'award_emoji/awards_block', awardable: @snippet, inline: true
 
%div#notes= render "projects/notes/notes_with_form"
#notes= render "projects/notes/notes_with_form"
%div.tree-content-holder
.tree-content-holder
.table-holder
%table.table#tree-slider{class: "table_#{@hex_path} tree-table" }
%thead
Loading
Loading
@@ -7,7 +7,7 @@
%th.hidden-xs
.pull-left Last commit
.last-commit.hidden-sm.pull-left
%small.light
%small.light
= clipboard_button(clipboard_text: @commit.id)
= link_to @commit.short_id, namespace_project_commit_path(@project.namespace, @project, @commit), class: "monospace"
= time_ago_with_tooltip(@commit.committed_date)
Loading
Loading
- @no_container = true
 
%div{ class: container_class }
%div#modal-new-wiki.modal
#modal-new-wiki.modal
.modal-dialog
.modal-content
.modal-header
Loading
Loading
Loading
Loading
@@ -13,7 +13,7 @@
.participants-author.js-participants-author
= link_to_member(@project, participant, name: false, size: 24)
- if participants_extra > 0
%div.participants-more
.participants-more
%a.js-participants-more{href: "#", data: {original_text: "+ #{participants_size - 7} more", less_text: "- show less"}}
+ #{participants_extra} more
:javascript
Loading
Loading
Loading
Loading
@@ -14,7 +14,7 @@
- if issuable.is_a?(Issue)
= confidential_icon(issuable)
= link_to_gfm issuable.title, [project.namespace.becomes(Namespace), project, issuable], title: issuable.title
%div.issuable-detail
.issuable-detail
= link_to [project.namespace.becomes(Namespace), project, issuable] do
%span.issuable-number >= issuable.to_reference
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment