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
Boxiang Sun
gitlab-ce
Commits
71dc50f0
Commit
71dc50f0
authored
Dec 22, 2016
by
Kushal Pandya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
HAMLLint: fix `AltText` offences
parent
21777aa1
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
18 additions
and
18 deletions
+18
-18
app/views/notify/pipeline_failed_email.html.haml
app/views/notify/pipeline_failed_email.html.haml
+3
-3
app/views/notify/pipeline_success_email.html.haml
app/views/notify/pipeline_success_email.html.haml
+3
-3
app/views/profiles/show.html.haml
app/views/profiles/show.html.haml
+1
-1
app/views/projects/blob/_image.html.haml
app/views/projects/blob/_image.html.haml
+2
-2
app/views/projects/boards/components/_card.html.haml
app/views/projects/boards/components/_card.html.haml
+1
-1
app/views/projects/boards/components/sidebar/_assignee.html.haml
...ws/projects/boards/components/sidebar/_assignee.html.haml
+1
-1
app/views/projects/diffs/_image.html.haml
app/views/projects/diffs/_image.html.haml
+7
-7
No files found.
app/views/notify/pipeline_failed_email.html.haml
View file @
71dc50f0
...
@@ -90,7 +90,7 @@
...
@@ -90,7 +90,7 @@
%tbody
%tbody
%tr
%tr
%td
{
style:
"font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:15px;line-height:1.4;vertical-align:middle;padding-right:5px;"
}
%td
{
style:
"font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:15px;line-height:1.4;vertical-align:middle;padding-right:5px;"
}
%img
{
height:
"13"
,
src:
image_url
(
'mailers/ci_pipeline_notif_v1/icon-branch-gray.gif'
),
style:
"display:block;"
,
width:
"13"
}
/
%img
{
height:
"13"
,
src:
image_url
(
'mailers/ci_pipeline_notif_v1/icon-branch-gray.gif'
),
style:
"display:block;"
,
width:
"13"
,
alt:
"Branch icon"
}
/
%td
{
style:
"font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:15px;line-height:1.4;vertical-align:middle;"
}
%td
{
style:
"font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:15px;line-height:1.4;vertical-align:middle;"
}
%a
.muted
{
href:
commits_url
(
@pipeline
),
style:
"color:#333333;text-decoration:none;"
}
%a
.muted
{
href:
commits_url
(
@pipeline
),
style:
"color:#333333;text-decoration:none;"
}
=
@pipeline
.
ref
=
@pipeline
.
ref
...
@@ -101,7 +101,7 @@
...
@@ -101,7 +101,7 @@
%tbody
%tbody
%tr
%tr
%td
{
style:
"font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:15px;line-height:1.4;vertical-align:middle;padding-right:5px;"
}
%td
{
style:
"font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:15px;line-height:1.4;vertical-align:middle;padding-right:5px;"
}
%img
{
height:
"13"
,
src:
image_url
(
'mailers/ci_pipeline_notif_v1/icon-commit-gray.gif'
),
style:
"display:block;"
,
width:
"13"
}
/
%img
{
height:
"13"
,
src:
image_url
(
'mailers/ci_pipeline_notif_v1/icon-commit-gray.gif'
),
style:
"display:block;"
,
width:
"13"
,
alt:
"Commit icon"
}
/
%td
{
style:
"font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:15px;line-height:1.4;vertical-align:middle;"
}
%td
{
style:
"font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:15px;line-height:1.4;vertical-align:middle;"
}
%a
{
href:
commit_url
(
@pipeline
),
style:
"color:#3777b0;text-decoration:none;"
}
%a
{
href:
commit_url
(
@pipeline
),
style:
"color:#3777b0;text-decoration:none;"
}
=
@pipeline
.
short_sha
=
@pipeline
.
short_sha
...
@@ -119,7 +119,7 @@
...
@@ -119,7 +119,7 @@
%tr
%tr
-
commit
=
@pipeline
.
commit
-
commit
=
@pipeline
.
commit
%td
{
style:
"font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:15px;line-height:1.4;vertical-align:middle;padding-right:5px;"
}
%td
{
style:
"font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:15px;line-height:1.4;vertical-align:middle;padding-right:5px;"
}
%img
.avatar
{
height:
"24"
,
src:
avatar_icon
(
commit
.
author
||
commit
.
author_email
,
24
),
style:
"display:block;border-radius:12px;margin:-2px 0;"
,
width:
"24"
}
/
%img
.avatar
{
height:
"24"
,
src:
avatar_icon
(
commit
.
author
||
commit
.
author_email
,
24
),
style:
"display:block;border-radius:12px;margin:-2px 0;"
,
width:
"24"
,
alt:
"Avatar"
}
/
%td
{
style:
"font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:15px;line-height:1.4;vertical-align:middle;"
}
%td
{
style:
"font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:15px;line-height:1.4;vertical-align:middle;"
}
-
if
commit
.
author
-
if
commit
.
author
%a
.muted
{
href:
user_url
(
commit
.
author
),
style:
"color:#333333;text-decoration:none;"
}
%a
.muted
{
href:
user_url
(
commit
.
author
),
style:
"color:#333333;text-decoration:none;"
}
...
...
app/views/notify/pipeline_success_email.html.haml
View file @
71dc50f0
...
@@ -90,7 +90,7 @@
...
@@ -90,7 +90,7 @@
%tbody
%tbody
%tr
%tr
%td
{
style:
"font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:15px;line-height:1.4;vertical-align:middle;padding-right:5px;"
}
%td
{
style:
"font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:15px;line-height:1.4;vertical-align:middle;padding-right:5px;"
}
%img
{
height:
"13"
,
src:
image_url
(
'mailers/ci_pipeline_notif_v1/icon-branch-gray.gif'
),
style:
"display:block;"
,
width:
"13"
}
/
%img
{
height:
"13"
,
src:
image_url
(
'mailers/ci_pipeline_notif_v1/icon-branch-gray.gif'
),
style:
"display:block;"
,
width:
"13"
,
alt:
"Branch icon"
}
/
%td
{
style:
"font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:15px;line-height:1.4;vertical-align:middle;"
}
%td
{
style:
"font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:15px;line-height:1.4;vertical-align:middle;"
}
%a
.muted
{
href:
commits_url
(
@pipeline
),
style:
"color:#333333;text-decoration:none;"
}
%a
.muted
{
href:
commits_url
(
@pipeline
),
style:
"color:#333333;text-decoration:none;"
}
=
@pipeline
.
ref
=
@pipeline
.
ref
...
@@ -101,7 +101,7 @@
...
@@ -101,7 +101,7 @@
%tbody
%tbody
%tr
%tr
%td
{
style:
"font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:15px;line-height:1.4;vertical-align:middle;padding-right:5px;"
}
%td
{
style:
"font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:15px;line-height:1.4;vertical-align:middle;padding-right:5px;"
}
%img
{
height:
"13"
,
src:
image_url
(
'mailers/ci_pipeline_notif_v1/icon-commit-gray.gif'
),
style:
"display:block;"
,
width:
"13"
}
/
%img
{
height:
"13"
,
src:
image_url
(
'mailers/ci_pipeline_notif_v1/icon-commit-gray.gif'
),
style:
"display:block;"
,
width:
"13"
,
alt:
"Commit icon"
}
/
%td
{
style:
"font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:15px;line-height:1.4;vertical-align:middle;"
}
%td
{
style:
"font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:15px;line-height:1.4;vertical-align:middle;"
}
%a
{
href:
commit_url
(
@pipeline
),
style:
"color:#3777b0;text-decoration:none;"
}
%a
{
href:
commit_url
(
@pipeline
),
style:
"color:#3777b0;text-decoration:none;"
}
=
@pipeline
.
short_sha
=
@pipeline
.
short_sha
...
@@ -119,7 +119,7 @@
...
@@ -119,7 +119,7 @@
%tr
%tr
-
commit
=
@pipeline
.
commit
-
commit
=
@pipeline
.
commit
%td
{
style:
"font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:15px;line-height:1.4;vertical-align:middle;padding-right:5px;"
}
%td
{
style:
"font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:15px;line-height:1.4;vertical-align:middle;padding-right:5px;"
}
%img
.avatar
{
height:
"24"
,
src:
avatar_icon
(
commit
.
author
||
commit
.
author_email
,
24
),
style:
"display:block;border-radius:12px;margin:-2px 0;"
,
width:
"24"
}
/
%img
.avatar
{
height:
"24"
,
src:
avatar_icon
(
commit
.
author
||
commit
.
author_email
,
24
),
style:
"display:block;border-radius:12px;margin:-2px 0;"
,
width:
"24"
,
alt:
"Avatar"
}
/
%td
{
style:
"font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:15px;line-height:1.4;vertical-align:middle;"
}
%td
{
style:
"font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:15px;line-height:1.4;vertical-align:middle;"
}
-
if
commit
.
author
-
if
commit
.
author
%a
.muted
{
href:
user_url
(
commit
.
author
),
style:
"color:#333333;text-decoration:none;"
}
%a
.muted
{
href:
user_url
(
commit
.
author
),
style:
"color:#333333;text-decoration:none;"
}
...
...
app/views/profiles/show.html.haml
View file @
71dc50f0
...
@@ -108,7 +108,7 @@
...
@@ -108,7 +108,7 @@
Position and size your new avatar
Position and size your new avatar
.modal-body
.modal-body
.profile-crop-image-container
.profile-crop-image-container
%img
.modal-profile-crop-image
%img
.modal-profile-crop-image
{
alt:
"Avatar cropper"
}
.crop-controls
.crop-controls
.btn-group
.btn-group
%button
.btn.btn-primary
{
data:
{
method:
"zoom"
,
option:
"0.1"
}
}
%button
.btn.btn-primary
{
data:
{
method:
"zoom"
,
option:
"0.1"
}
}
...
...
app/views/projects/blob/_image.html.haml
View file @
71dc50f0
...
@@ -5,11 +5,11 @@
...
@@ -5,11 +5,11 @@
-
# be wrong/strange if RawController modified the data.
-
# be wrong/strange if RawController modified the data.
-
blob
.
load_all_data!
(
@repository
)
-
blob
.
load_all_data!
(
@repository
)
-
blob
=
sanitize_svg
(
blob
)
-
blob
=
sanitize_svg
(
blob
)
%img
{
src:
"data:#{blob.mime_type};base64,#{Base64.encode64(blob.data)}"
}
%img
{
src:
"data:#{blob.mime_type};base64,#{Base64.encode64(blob.data)}"
,
alt:
"#{blob.name}"
}
-
else
-
else
.nothing-here-block
.nothing-here-block
The SVG could not be displayed as it is too large, you can
The SVG could not be displayed as it is too large, you can
#{
link_to
(
'view the raw file'
,
namespace_project_raw_path
(
@project
.
namespace
,
@project
,
@id
),
target:
'_blank'
)
}
#{
link_to
(
'view the raw file'
,
namespace_project_raw_path
(
@project
.
namespace
,
@project
,
@id
),
target:
'_blank'
)
}
instead.
instead.
-
else
-
else
%img
{
src:
namespace_project_raw_path
(
@project
.
namespace
,
@project
,
tree_join
(
@commit
.
id
,
blob
.
path
))}
%img
{
src:
namespace_project_raw_path
(
@project
.
namespace
,
@project
,
tree_join
(
@commit
.
id
,
blob
.
path
))
,
alt:
"#{blob.name}"
}
app/views/projects/boards/components/_card.html.haml
View file @
71dc50f0
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
":title"
=>
'"Assigned to " + issue.assignee.name'
,
":title"
=>
'"Assigned to " + issue.assignee.name'
,
"v-if"
=>
"issue.assignee"
,
"v-if"
=>
"issue.assignee"
,
data:
{
container:
'body'
}
}
data:
{
container:
'body'
}
}
%img
.avatar.avatar-inline.s20
{
":src"
=>
"issue.assignee.avatar"
,
width:
20
,
height:
20
}
%img
.avatar.avatar-inline.s20
{
":src"
=>
"issue.assignee.avatar"
,
width:
20
,
height:
20
,
alt:
"Avatar"
}
%button
.label.color-label.has-tooltip
{
"v-for"
=>
"label in issue.labels"
,
%button
.label.color-label.has-tooltip
{
"v-for"
=>
"label in issue.labels"
,
type:
"button"
,
type:
"button"
,
"v-if"
=>
"(!list.label || label.id !== list.label.id)"
,
"v-if"
=>
"(!list.label || label.id !== list.label.id)"
,
...
...
app/views/projects/boards/components/sidebar/_assignee.html.haml
View file @
71dc50f0
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
%a
.author_link.bold
{
":href"
=>
"'#{root_url}' + issue.assignee.username"
,
%a
.author_link.bold
{
":href"
=>
"'#{root_url}' + issue.assignee.username"
,
"v-if"
=>
"issue.assignee"
}
"v-if"
=>
"issue.assignee"
}
%img
.avatar.avatar-inline.s32
{
":src"
=>
"issue.assignee.avatar"
,
%img
.avatar.avatar-inline.s32
{
":src"
=>
"issue.assignee.avatar"
,
width:
"32"
}
width:
"32"
,
alt:
"Avatar"
}
%span
.author
%span
.author
{{ issue.assignee.name }}
{{ issue.assignee.name }}
%span
.username
%span
.username
...
...
app/views/projects/diffs/_image.html.haml
View file @
71dc50f0
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
.image
.image
%span
.wrap
%span
.wrap
.frame
{
class:
image_diff_class
(
diff
)}
.frame
{
class:
image_diff_class
(
diff
)}
%img
{
src:
diff
.
deleted_file
?
old_file_raw_path
:
file_raw_path
}
%img
{
src:
diff
.
deleted_file
?
old_file_raw_path
:
file_raw_path
,
alt:
diff
.
new_path
}
%p
.image-info
=
"
#{
number_to_human_size
file
.
size
}
"
%p
.image-info
=
"
#{
number_to_human_size
file
.
size
}
"
-
else
-
else
.image
.image
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
%span
.wrap
%span
.wrap
.frame.deleted
.frame.deleted
%a
{
href:
namespace_project_blob_path
(
@project
.
namespace
,
@project
,
tree_join
(
diff_file
.
old_ref
,
diff
.
old_path
))}
%a
{
href:
namespace_project_blob_path
(
@project
.
namespace
,
@project
,
tree_join
(
diff_file
.
old_ref
,
diff
.
old_path
))}
%img
{
src:
old_file_raw_path
}
%img
{
src:
old_file_raw_path
,
alt:
diff
.
old_path
}
%p
.image-info.hide
%p
.image-info.hide
%span
.meta-filesize
=
"
#{
number_to_human_size
old_file
.
size
}
"
%span
.meta-filesize
=
"
#{
number_to_human_size
old_file
.
size
}
"
|
|
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
%span
.wrap
%span
.wrap
.frame.added
.frame.added
%a
{
href:
namespace_project_blob_path
(
@project
.
namespace
,
@project
,
tree_join
(
diff_file
.
new_ref
,
diff
.
new_path
))}
%a
{
href:
namespace_project_blob_path
(
@project
.
namespace
,
@project
,
tree_join
(
diff_file
.
new_ref
,
diff
.
new_path
))}
%img
{
src:
file_raw_path
}
%img
{
src:
file_raw_path
,
alt:
diff
.
new_path
}
%p
.image-info.hide
%p
.image-info.hide
%span
.meta-filesize
=
"
#{
number_to_human_size
file
.
size
}
"
%span
.meta-filesize
=
"
#{
number_to_human_size
file
.
size
}
"
|
|
...
@@ -41,10 +41,10 @@
...
@@ -41,10 +41,10 @@
%div
.swipe.view.hide
%div
.swipe.view.hide
.swipe-frame
.swipe-frame
.frame.deleted
.frame.deleted
%img
{
src:
old_file_raw_path
}
%img
{
src:
old_file_raw_path
,
alt:
diff
.
old_path
}
.swipe-wrap
.swipe-wrap
.frame.added
.frame.added
%img
{
src:
file_raw_path
}
%img
{
src:
file_raw_path
,
alt:
diff
.
new_path
}
%span
.swipe-bar
%span
.swipe-bar
%span
.top-handle
%span
.top-handle
%span
.bottom-handle
%span
.bottom-handle
...
@@ -52,9 +52,9 @@
...
@@ -52,9 +52,9 @@
%div
.onion-skin.view.hide
%div
.onion-skin.view.hide
.onion-skin-frame
.onion-skin-frame
.frame.deleted
.frame.deleted
%img
{
src:
old_file_raw_path
}
%img
{
src:
old_file_raw_path
,
alt:
diff
.
old_path
}
.frame.added
.frame.added
%img
{
src:
file_raw_path
}
%img
{
src:
file_raw_path
,
alt:
diff
.
new_path
}
.controls
.controls
.transparent
.transparent
.drag-track
.drag-track
...
...
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