-
+ :href="model.environment_path">
+ {{model.name}}
@@ -401,16 +400,19 @@
-
+
+ {{model.name}}
+
-
+
+ {{childrenCounter}}
+
|
-
+
+ {{deploymentInternalId}}
@@ -427,8 +429,8 @@
|
+ :href="model.last_deployment.deployable.build_path">
+ {{buildName}}
|
@@ -451,8 +453,8 @@
+ class="environment-created-date-timeago">
+ {{createdDate}}
|
diff --git a/app/assets/javascripts/environments/components/environment_stop.js.es6 b/app/assets/javascripts/environments/components/environment_stop.js.es6
index 2c732e50180..e6d66a0148c 100644
--- a/app/assets/javascripts/environments/components/environment_stop.js.es6
+++ b/app/assets/javascripts/environments/components/environment_stop.js.es6
@@ -14,8 +14,7 @@
},
template: `
-
+ :href="ref.ref_url">
+ {{ref.name}}
-
-
+
+ :href="commit_url">
+ {{short_sha}}
@@ -156,14 +155,15 @@
class="avatar-image-container"
:href="author.web_url">
+ :href="commit_url">
+ {{title}}
diff --git a/spec/javascripts/environments/environment_item_spec.js.es6 b/spec/javascripts/environments/environment_item_spec.js.es6
index 54c93367b17..3c15e3b7719 100644
--- a/spec/javascripts/environments/environment_item_spec.js.es6
+++ b/spec/javascripts/environments/environment_item_spec.js.es6
@@ -135,7 +135,7 @@ describe('Environment item', () => {
});
it('should render environment name', () => {
- expect(component.$el.querySelector('.environment-name').textContent).toEqual(environment.name);
+ expect(component.$el.querySelector('.environment-name').textContent).toContain(environment.name);
});
describe('With deployment', () => {