diff --git a/ui/src/components/CloudMonkey/Resource.vue b/ui/src/components/CloudMonkey/Resource.vue
index cbab517d4b0..482fe08abc7 100644
--- a/ui/src/components/CloudMonkey/Resource.vue
+++ b/ui/src/components/CloudMonkey/Resource.vue
@@ -10,24 +10,46 @@
-->
+
+
+
+
+ {{ item.meta.title }}
+
+ {{ $route.params.id }}
+ {{ item.meta.title }}
+
+
+
-
-
-
+
+
+ {{ action.label }}
+
+
+
+
+
+
+ {{ "Refresh" }}
+
+
+
{
+ this.breadList.push(item)
+ })
+ },
fetchData (search = '') {
+ this.getBreadcrumb()
this.routeName = this.$route.name
if (!this.routeName) {
this.routeName = this.$route.matched[this.$route.matched.length - 1].parent.name
@@ -535,4 +566,13 @@ export default {
background-color: #f9f9f9;
}
+.ant-breadcrumb {
+ vertical-align: text-bottom;
+ margin-bottom: 6px;
+}
+
+.ant-breadcrumb .anticon {
+ margin-left: 8px;
+}
+
diff --git a/ui/src/config/section/storage.js b/ui/src/config/section/storage.js
index a4ad845acc1..20b5da3b623 100644
--- a/ui/src/config/section/storage.js
+++ b/ui/src/config/section/storage.js
@@ -15,7 +15,7 @@ export default {
{
api: 'createVolume',
icon: 'plus',
- label: 'Create Volumes',
+ label: 'Create Volume',
type: 'main',
params: ['name', 'zoneid', 'diskofferingid']
}, {