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
b20fd5c7
Commit
b20fd5c7
authored
Oct 21, 2016
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adds commit sha link
parent
843e5642
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
app/views/projects/environments/components/_commit.html.haml
app/views/projects/environments/components/_commit.html.haml
+2
-4
No files found.
app/views/projects/environments/components/_commit.html.haml
View file @
b20fd5c7
...
...
@@ -14,8 +14,7 @@
.icon-container.commit-icon
=
custom_icon
(
"icon_commit"
)
%a
.commit-id.monospace
{
":href"
=>
""
}
-# need commit url built with commit sha
%a
.commit-id.monospace
{
":href"
=>
"'/' + model.project.namespace.name + '/' + model.project.name + '/commit/' +model.last_deployment.sha"
}
{{model.last_deployment.short_sha}}
%p
.commit-title
...
...
@@ -24,8 +23,7 @@
-# need commit author username and avatar_url
commit author goes here
%a
.commit-row-message
{
":href"
=>
""
}
-# need commit url built with commit sha
%a
.commit-row-message
{
":href"
=>
"'/' + model.project.namespace.name + '/' + model.project.name + '/commit/' +model.last_deployment.sha"
}
{{model.last_deployment.commit_title}}
%span
{
"v-if"
=>
"!model.last_deployment.commit_title"
}
...
...
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