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
f5d9b994
Commit
f5d9b994
authored
Nov 07, 2016
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use urls sent in JSON response
parent
1b00f3a5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
app/views/projects/environments/components/_environment.html.haml
...s/projects/environments/components/_environment.html.haml
+4
-4
No files found.
app/views/projects/environments/components/_environment.html.haml
View file @
f5d9b994
...
...
@@ -2,7 +2,7 @@
%tr
%td
{
"v-bind:class"
=>
"{ 'children-row': isChildren}"
}
%a
.environment-name
{
"v-if"
=>
"!isFolder"
,
":href"
=>
"
'#{namespace_project_environments_path(@project.namespace, @project)}/' + model.id
"
}
":href"
=>
"
model.environment_url
"
}
{{model.name}}
%span
.folder-name
{
"v-if"
=>
"isFolder"
,
...
...
@@ -25,7 +25,7 @@
%span
{
"v-if"
=>
"model.last_deployment.user"
}
by
%a
{
":href"
=>
"
'/' + model.last_deployment.user.username
"
}
%a
{
":href"
=>
"
model.last_deployment.user.web_url
"
}
%img
.avatar.has_tooltip.s20
{
":src"
=>
"model.last_deployment.user.avatar_url"
,
":alt"
=>
"model.last_deployment.user.username + `'s avatar`"
,
":title"
=>
"model.last_deployment.user.username"
,
...
...
@@ -34,7 +34,7 @@
%td
%a
.build-link
{
"v-if"
=>
"!isFolder && model.last_deployment && model.last_deployment.deployable"
,
":href"
=>
"
'#{namespace_project_builds_path(@project.namespace, @project)}/' + model.last_deployment.deployable.id
"
}
":href"
=>
"
model.last_deployment.deployable.build_url
"
}
{{model.last_deployment.deployable.name}}
=
precede
"#"
do
{{model.last_deployment.deployable.id}}
...
...
@@ -47,7 +47,7 @@
%td
%span
{
"v-if"
=>
"!isFolder && model.last_deployment"
}
{{model.
last_deployment.
created_at}}
{{model.created_at}}
%td
.hidden-xs
.pull-right
{
"v-if"
=>
"!isFolder"
}
...
...
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