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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
1b00f3a5
Commit
1b00f3a5
authored
Nov 07, 2016
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adds alt attribute in image tags
parent
8dd19c42
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
app/views/projects/environments/components/_commit.html.haml
app/views/projects/environments/components/_commit.html.haml
+1
-0
app/views/projects/environments/components/_environment.html.haml
...s/projects/environments/components/_environment.html.haml
+1
-1
No files found.
app/views/projects/environments/components/_commit.html.haml
View file @
1b00f3a5
...
@@ -18,6 +18,7 @@
...
@@ -18,6 +18,7 @@
%span
{
"v-if"
=>
"model.last_deployment.commit && model.last_deployment.commit.title"
}
%span
{
"v-if"
=>
"model.last_deployment.commit && model.last_deployment.commit.title"
}
%a
.avatar-image-container
{
"v-if"
=>
"model.last_deployment.commit.author"
,
":href"
=>
"model.last_deployment.commit.author.web_url"
}
%a
.avatar-image-container
{
"v-if"
=>
"model.last_deployment.commit.author"
,
":href"
=>
"model.last_deployment.commit.author.web_url"
}
%img
.avatar.has-tooltip.s20
{
":title"
=>
"model.last_deployment.commit.author.username"
,
%img
.avatar.has-tooltip.s20
{
":title"
=>
"model.last_deployment.commit.author.username"
,
":alt"
=>
"model.last_deployment.commit.author.username + `'s avatar`"
,
":src"
=>
"model.last_deployment.commit.author.avatar_url"
}
":src"
=>
"model.last_deployment.commit.author.avatar_url"
}
%a
.commit-row-message
{
":href"
=>
"model.last_deployment.commit.commit_url"
}
%a
.commit-row-message
{
":href"
=>
"model.last_deployment.commit.commit_url"
}
{{model.last_deployment.commit.title}}
{{model.last_deployment.commit.title}}
...
...
app/views/projects/environments/components/_environment.html.haml
View file @
1b00f3a5
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
by
by
%a
{
":href"
=>
"'/' + model.last_deployment.user.username"
}
%a
{
":href"
=>
"'/' + model.last_deployment.user.username"
}
%img
.avatar.has_tooltip.s20
{
":src"
=>
"model.last_deployment.user.avatar_url"
,
%img
.avatar.has_tooltip.s20
{
":src"
=>
"model.last_deployment.user.avatar_url"
,
":alt"
=>
"model.last_deployment.user.username +
'avatar'
"
,
":alt"
=>
"model.last_deployment.user.username +
`'s avatar`
"
,
":title"
=>
"model.last_deployment.user.username"
,
":title"
=>
"model.last_deployment.user.username"
,
data:
{
container:
"body"
},
data:
{
container:
"body"
},
width:
20
,
height:
20
}
width:
20
,
height:
20
}
...
...
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