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
1b00f3a5
Commit
1b00f3a5
authored
8 years ago
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adds alt attribute in image tags
parent
8dd19c42
Changes
2
Hide 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 @@
%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"
}
%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"
}
%a
.commit-row-message
{
":href"
=>
"model.last_deployment.commit.commit_url"
}
{{model.last_deployment.commit.title}}
...
...
This diff is collapsed.
Click to expand it.
app/views/projects/environments/components/_environment.html.haml
View file @
1b00f3a5
...
...
@@ -27,7 +27,7 @@
by
%a
{
":href"
=>
"'/' + model.last_deployment.user.username"
}
%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"
,
data:
{
container:
"body"
},
width:
20
,
height:
20
}
...
...
This diff is collapsed.
Click to expand it.
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