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
a60e6f14
Commit
a60e6f14
authored
Oct 21, 2016
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adds commit partial for vue component
parent
ea91d9cc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
app/views/projects/environments/components/_commit.html.haml
app/views/projects/environments/components/_commit.html.haml
+9
-1
No files found.
app/views/projects/environments/components/_commit.html.haml
View file @
a60e6f14
.branch-commit
{
"v-if"
=>
"!isFolder && model.last_deployment"
}
%div
{
"v-if"
=>
"model.last_deployment.ref"
}
.icon-container
{
"v-if"
=>
"model.last_deployment.tag"
}
=
icon
(
"tag"
)
.icon-container
{
"v-if"
=>
"!model.last_deployment.tag"
}
=
icon
(
"code-fork"
)
%a
.monospace.branch-name
{}
%a
.monospace.branch-name
{
":href"
=>
""
}
{{model.last_deployment.ref}}
.icon-container.commit-icon
=
custom_icon
(
"icon_commit"
)
%a
.commit-id.monospace
{
":href"
=>
""
}
{{model.last_deployment.short_sha}}
{{model.last_deployment.sha}}
%p
.commit-title
%span
{
"v-if"
=>
"model.last_deployment.commit_title"
}
%a
.commit-row-message
{
":href"
=>
""
}
{{model.last_deployment.commit_title}}
%span
{
"v-if"
=>
"!model.last_deployment.commit_title"
}
Cant find HEAD commit for this branch
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