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
Tatuya Kamada
gitlab-ce
Commits
71000b24
Commit
71000b24
authored
Dec 22, 2016
by
Kushal Pandya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
HAMLLint: Fix `HtmlAttributes` offences
parent
fa432f0c
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
app/views/layouts/devise_mailer.html.haml
app/views/layouts/devise_mailer.html.haml
+1
-1
app/views/projects/branches/_branch.html.haml
app/views/projects/branches/_branch.html.haml
+2
-2
app/views/sherlock/queries/show.html.haml
app/views/sherlock/queries/show.html.haml
+2
-2
app/views/sherlock/transactions/show.html.haml
app/views/sherlock/transactions/show.html.haml
+3
-3
No files found.
app/views/layouts/devise_mailer.html.haml
View file @
71000b24
!!! 5
%html
%head
%meta
(
content=
'text/html; charset=UTF-8'
http-equiv=
'Content-Type'
)
%meta
{
content:
'text/html; charset=UTF-8'
,
'http-equiv'
=>
'Content-Type'
}
=
stylesheet_link_tag
'mailers/devise'
%body
...
...
app/views/projects/branches/_branch.html.haml
View file @
71000b24
...
...
@@ -4,7 +4,7 @@
-
number_commits_behind
=
diverging_commit_counts
[
:behind
]
-
number_commits_ahead
=
diverging_commit_counts
[
:ahead
]
-
merge_project
=
can?
(
current_user
,
:create_merge_request
,
@project
)
?
@project
:
(
current_user
&&
current_user
.
fork_of
(
@project
))
%li
(
class=
"js-branch-#{branch.name}"
)
%li
{
class:
"js-branch-#{branch.name}"
}
%div
=
link_to
namespace_project_tree_path
(
@project
.
namespace
,
@project
,
branch
.
name
),
class:
'item-title str-truncated'
do
=
branch
.
name
...
...
@@ -12,7 +12,7 @@
-
if
branch
.
name
==
@repository
.
root_ref
%span
.label.label-primary
default
-
elsif
@repository
.
merged_to_root_ref?
branch
.
name
%span
.label.label-info.has-tooltip
(
title=
"Merged into #{@repository.root_ref}"
)
%span
.label.label-info.has-tooltip
{
title:
"Merged into #{@repository.root_ref}"
}
merged
-
if
@project
.
protected_branch?
branch
.
name
...
...
app/views/sherlock/queries/show.html.haml
View file @
71000b24
...
...
@@ -3,10 +3,10 @@
%ul
.nav-links
%li
.active
%a
(
href=
"#tab-general"
data-toggle=
"tab"
)
%a
{
href:
"#tab-general"
,
data:
{
toggle:
"tab"
}
}
=
t
(
'sherlock.general'
)
%li
%a
(
href=
"#tab-backtrace"
data-toggle=
"tab"
)
%a
{
href:
"#tab-backtrace"
,
data:
{
toggle:
"tab"
}
}
=
t
(
'sherlock.backtrace'
)
.row-content-block
...
...
app/views/sherlock/transactions/show.html.haml
View file @
71000b24
...
...
@@ -3,15 +3,15 @@
%ul
.nav-links
%li
.active
%a
(
href=
"#tab-general"
data-toggle=
"tab"
)
%a
{
href:
"#tab-general"
,
data:
{
toggle:
"tab"
}
}
=
t
(
'sherlock.general'
)
%li
%a
(
href=
"#tab-queries"
data-toggle=
"tab"
)
%a
{
href:
"#tab-queries"
,
data:
{
toggle:
"tab"
}
}
=
t
(
'sherlock.queries'
)
%span
.badge
#{
@transaction
.
queries
.
length
}
%li
%a
(
href=
"#tab-file-samples"
data-toggle=
"tab"
)
%a
{
href:
"#tab-file-samples"
,
data:
{
toggle:
"tab"
}
}
=
t
(
'sherlock.file_samples'
)
%span
.badge
#{
@transaction
.
file_samples
.
length
}
...
...
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