nav.apps and cluster dash

This commit is contained in:
lvuch 2019-08-07 15:45:22 -07:00
parent 873e9abf79
commit ce4e1526e1
3 changed files with 8 additions and 10 deletions

View File

@ -17,6 +17,8 @@
{{/each}}
</div>
{{else}}
{{empty-table disabled=(rbac-prevents resource="app" scope="project" permission="create") resource="container" newRoute="catalog-tab" newTranslationKey="nav.apps.launch"}}
<div class="text-center text-muted">
{{t 'nav.apps.noData'}}
</div>
{{/each}}
</section>
</section>

View File

@ -106,12 +106,7 @@
{{cluster-dashboard-tabs dashboards=dashboards}}
{{/if}}
{{else}}
{{empty-table
resource="container"
showNew=scope.currentCluster.canAddNode
newRoute="authenticated.cluster.nodes.templates"
newTranslationKey="nodesPage.addNode"
disabled=(rbac-prevents resource="machine" scope="global" permission="create")
ctx=""
}}
<div class="text-center text-muted">
{{t 'metricsAction.noData'}}
</div>
{{/if}}

View File

@ -7698,6 +7698,7 @@ nav:
apps:
tab: Apps
apps: Apps
noData: No apps launched
launch: Launch
manage: Manage Catalogs
infra: