Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
7b1944f9
Commit
7b1944f9
authored
Dec 22, 2016
by
Kushal Pandya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
HAMLLint: Fix `ClassAttributeWithStaticValue` offences
parent
ef3744d0
Changes
17
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
26 additions
and
26 deletions
+26
-26
app/views/devise/shared/_signin_box.html.haml
app/views/devise/shared/_signin_box.html.haml
+1
-1
app/views/devise/shared/_signup_box.html.haml
app/views/devise/shared/_signup_box.html.haml
+1
-1
app/views/help/_shortcuts.html.haml
app/views/help/_shortcuts.html.haml
+4
-4
app/views/kaminari/gitlab/_next_page.html.haml
app/views/kaminari/gitlab/_next_page.html.haml
+2
-2
app/views/kaminari/gitlab/_prev_page.html.haml
app/views/kaminari/gitlab/_prev_page.html.haml
+2
-2
app/views/layouts/devise.html.haml
app/views/layouts/devise.html.haml
+1
-1
app/views/layouts/header/_default.html.haml
app/views/layouts/header/_default.html.haml
+2
-2
app/views/projects/blob/_upload.html.haml
app/views/projects/blob/_upload.html.haml
+1
-1
app/views/projects/branches/new.html.haml
app/views/projects/branches/new.html.haml
+1
-1
app/views/projects/builds/show.html.haml
app/views/projects/builds/show.html.haml
+2
-2
app/views/projects/merge_requests/conflicts/_submit_form.html.haml
.../projects/merge_requests/conflicts/_submit_form.html.haml
+1
-1
app/views/projects/new.html.haml
app/views/projects/new.html.haml
+1
-1
app/views/projects/notes/_note.html.haml
app/views/projects/notes/_note.html.haml
+1
-1
app/views/projects/tags/new.html.haml
app/views/projects/tags/new.html.haml
+1
-1
app/views/projects/tree/_submodule_item.html.haml
app/views/projects/tree/_submodule_item.html.haml
+1
-1
app/views/shared/members/_group.html.haml
app/views/shared/members/_group.html.haml
+1
-1
app/views/shared/milestones/_issuable.html.haml
app/views/shared/milestones/_issuable.html.haml
+3
-3
No files found.
app/views/devise/shared/_signin_box.html.haml
View file @
7b1944f9
-
if
form_based_providers
.
any?
-
if
crowd_enabled?
.login-box.tab-pane.active
{
id:
"crowd"
,
role:
'tabpanel'
,
class:
'tab-pane'
}
.login-box.tab-pane.active
{
id:
"crowd"
,
role:
'tabpanel'
}
.login-body
=
render
'devise/sessions/new_crowd'
-
@ldap_servers
.
each_with_index
do
|
server
,
i
|
...
...
app/views/devise/shared/_signup_box.html.haml
View file @
7b1944f9
#register-pane
.
login-box
{
role:
'tabpanel'
,
class:
'tab-pane
'
}
#register-pane
.
tab-pane.login-box
{
role:
'tabpanel
'
}
.login-body
=
form_for
(
resource
,
as:
"new_
#{
resource_name
}
"
,
url:
registration_path
(
resource_name
),
html:
{
class:
"new_new_user gl-show-field-errors"
,
"aria-live"
=>
"assertive"
})
do
|
f
|
.devise-errors
...
...
app/views/help/_shortcuts.html.haml
View file @
7b1944f9
...
...
@@ -82,7 +82,7 @@
.col-lg-4
%table
.shortcut-mappings
%tbody
{
class:
'hidden-shortcut project'
,
style:
'display:none'
}
%tbody
.hidden-shortcut.project
{
style:
'display:none'
}
%tr
%th
%th
Global Dashboard
...
...
@@ -190,7 +190,7 @@
%td
New issue
.col-lg-4
%table
.shortcut-mappings
%tbody
{
class:
'hidden-shortcut network'
,
style:
'display:none'
}
%tbody
.hidden-shortcut.network
{
style:
'display:none'
}
%tr
%th
%th
Network Graph
...
...
@@ -240,7 +240,7 @@
.key
shift j
%td
Scroll to bottom
%tbody
{
class:
'hidden-shortcut issues'
,
style:
'display:none'
}
%tbody
.hidden-shortcut.issues
{
style:
'display:none'
}
%tr
%th
%th
Issues
...
...
@@ -264,7 +264,7 @@
%td
.shortcut
.key
l
%td
Change Label
%tbody
{
class:
'hidden-shortcut merge_requests'
,
style:
'display:none'
}
%tbody
.hidden-shortcut.merge_requests
{
style:
'display:none'
}
%tr
%th
%th
Merge Requests
...
...
app/views/kaminari/gitlab/_next_page.html.haml
View file @
7b1944f9
...
...
@@ -6,8 +6,8 @@
-# per_page: number of items to fetch per page
-# remote: data-remote
-
if
current_page
.
last?
%li
{
class:
"next disabled"
}
%li
.next.disabled
%span
=
raw
(
t
'views.pagination.next'
)
-
else
%li
{
class:
"next"
}
%li
.next
=
link_to
raw
(
t
'views.pagination.next'
),
url
,
rel:
'next'
,
remote:
remote
app/views/kaminari/gitlab/_prev_page.html.haml
View file @
7b1944f9
...
...
@@ -6,8 +6,8 @@
-# per_page: number of items to fetch per page
-# remote: data-remote
-
if
current_page
.
first?
%li
{
class:
"prev disabled"
}
%li
.prev.disabled
%span
=
raw
(
t
'views.pagination.previous'
)
-
else
%li
{
class:
"prev"
}
%li
.prev
=
link_to
raw
(
t
'views.pagination.previous'
),
url
,
rel:
'prev'
,
remote:
remote
app/views/layouts/devise.html.haml
View file @
7b1944f9
!!! 5
%html
{
lang:
"en"
,
class:
"devise-layout-html"
}
%html
.devise-layout-html
=
render
"layouts/head"
%body
.ui_charcoal.login-page.application.navless
{
data:
{
page:
body_data_page
}}
.page-wrap
...
...
app/views/layouts/header/_default.html.haml
View file @
7b1944f9
%header
.navbar.navbar-fixed-top.navbar-gitlab
{
class:
nav_header_class
}
%a
{
href:
"#content-body"
,
tabindex:
"1"
,
class:
"sr-only gl-accessibility
"
}
Skip to content
%div
{
class:
"container-fluid"
}
%a
.sr-only.gl-accessibility
{
href:
"#content-body"
,
tabindex:
"1
"
}
Skip to content
%div
.container-fluid
.header-content
%button
.side-nav-toggle
{
type:
'button'
,
"aria-label"
=>
"Toggle global navigation"
}
%span
.sr-only
Toggle navigation
...
...
app/views/projects/blob/_upload.html.haml
View file @
7b1944f9
...
...
@@ -12,7 +12,7 @@
Attach a file by drag
&
drop or
=
link_to
'click to upload'
,
'#'
,
class:
"markdown-selector"
%br
.dropzone-alerts
{
class:
"alert alert-danger data"
,
style:
"display:none"
}
.dropzone-alerts
.alert.alert-danger.data
{
style:
"display:none"
}
=
render
'shared/new_commit_form'
,
placeholder:
placeholder
...
...
app/views/projects/branches/new.html.haml
View file @
7b1944f9
...
...
@@ -2,7 +2,7 @@
-
if
@error
.alert.alert-danger
%button
{
type:
"button"
,
class:
"close
"
,
"data-dismiss"
=>
"alert"
}
×
%button
.close
{
type:
"button
"
,
"data-dismiss"
=>
"alert"
}
×
=
@error
%h3
.page-title
New Branch
...
...
app/views/projects/builds/show.html.haml
View file @
7b1944f9
...
...
@@ -56,10 +56,10 @@
-
else
#js-build-scroll
.scroll-controls
.scroll-step
%a
{
href:
'#up-build-trace'
,
id:
'scroll-top'
,
class:
'scroll-link
scroll-top'
,
title:
'Scroll to top'
}
%a
.scroll-link.scroll-top
{
href:
'#up-build-trace'
,
id:
'
scroll-top'
,
title:
'Scroll to top'
}
=
custom_icon
(
'scroll_up'
)
=
custom_icon
(
'scroll_up_hover_active'
)
%a
{
href:
'#down-build-trace'
,
id:
'scroll-bottom'
,
class:
'scroll-link
scroll-bottom'
,
title:
'Scroll to bottom'
}
%a
.scroll-link.scroll-bottom
{
href:
'#down-build-trace'
,
id:
'
scroll-bottom'
,
title:
'Scroll to bottom'
}
=
custom_icon
(
'scroll_down'
)
=
custom_icon
(
'scroll_down_hover_active'
)
-
if
@build
.
active?
...
...
app/views/projects/merge_requests/conflicts/_submit_form.html.haml
View file @
7b1944f9
...
...
@@ -10,7 +10,7 @@
.col-sm-offset-2.col-sm-10
.row
.col-xs-6
%button
{
type:
"button"
,
class:
"btn btn-success js-submit-
button"
,
"@click"
=>
"commit()"
,
":disabled"
=>
"!readyToCommit"
}
%button
.btn.btn-success.js-submit-button
{
type:
"
button"
,
"@click"
=>
"commit()"
,
":disabled"
=>
"!readyToCommit"
}
%span
{{commitButtonText}}
.col-xs-6.text-right
=
link_to
"Cancel"
,
namespace_project_merge_request_path
(
@merge_request
.
project
.
namespace
,
@merge_request
.
project
,
@merge_request
),
class:
"btn btn-cancel"
app/views/projects/new.html.haml
View file @
7b1944f9
...
...
@@ -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
{
class:
'import_gitlab_project'
}
%div
.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'
)
...
...
app/views/projects/notes/_note.html.haml
View file @
7b1944f9
...
...
@@ -15,7 +15,7 @@
-
unless
note
.
system
commented
-
if
note
.
system
%span
{
class:
'system-note-message'
}
%span
.system-note-message
=
note
.
redacted_note_html
%a
{
href:
"##{dom_id(note)}"
}
=
time_ago_with_tooltip
(
note
.
created_at
,
placement:
'bottom'
,
html_class:
'note-created-ago'
)
...
...
app/views/projects/tags/new.html.haml
View file @
7b1944f9
...
...
@@ -2,7 +2,7 @@
-
if
@error
.alert.alert-danger
%button
{
type:
"button"
,
class:
"close
"
,
"data-dismiss"
=>
"alert"
}
×
%button
.close
{
type:
"button
"
,
"data-dismiss"
=>
"alert"
}
×
=
@error
%h3
.page-title
...
...
app/views/projects/tree/_submodule_item.html.haml
View file @
7b1944f9
%tr
{
class:
"tree-item"
}
%tr
.tree-item
%td
.tree-item-file-name
%i
.fa.fa-archive.fa-fw
=
submodule_link
(
submodule_item
,
@ref
)
...
...
app/views/shared/members/_group.html.haml
View file @
7b1944f9
...
...
@@ -3,7 +3,7 @@
-
can_admin_member
=
can?
(
current_user
,
:admin_project_member
,
@project
)
-
dom_id
=
"group_member_
#{
group_link
.
id
}
"
%li
.member.group_member
{
id:
dom_id
}
%span
{
class:
"list-item-name"
}
%span
.list-item-name
=
image_tag
group_icon
(
group
),
class:
"avatar s40"
,
alt:
''
%strong
=
link_to
group
.
name
,
group_path
(
group
)
...
...
app/views/shared/milestones/_issuable.html.haml
View file @
7b1944f9
...
...
@@ -14,15 +14,15 @@
-
if
issuable
.
is_a?
(
Issue
)
=
confidential_icon
(
issuable
)
=
link_to_gfm
issuable
.
title
,
[
project
.
namespace
.
becomes
(
Namespace
),
project
,
issuable
],
title:
issuable
.
title
%div
{
class:
'issuable-detail'
}
%div
.issuable-detail
=
link_to
[
project
.
namespace
.
becomes
(
Namespace
),
project
,
issuable
]
do
%span
{
class:
'issuable-number'
}
>=
issuable
.
to_reference
%span
.issuable-number
>= issuable.to_reference
-
issuable
.
labels
.
each
do
|
label
|
=
link_to
polymorphic_path
(
base_url_args
,
{
milestone_title:
@milestone
.
title
,
label_name:
label
.
title
,
state:
'all'
})
do
-
render_colored_label
(
label
)
%span
{
class:
"assignee-icon"
}
%span
.assignee-icon
-
if
assignee
=
link_to
polymorphic_path
(
base_url_args
,
{
milestone_title:
@milestone
.
title
,
assignee_id:
issuable
.
assignee_id
,
state:
'all'
}),
class:
'has-tooltip'
,
title:
"Assigned to
#{
assignee
.
name
}
"
,
data:
{
container:
'body'
}
do
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment