Removing Undeploy button for the tenants for multitenant application
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/c5bbeaa3 Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/c5bbeaa3 Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/c5bbeaa3 Branch: refs/heads/stratos-4.1.x Commit: c5bbeaa30bd0526ba80816d0df92e4ab27539b7b Parents: cedd128 Author: Dinithi <[email protected]> Authored: Wed Sep 16 10:47:24 2015 +0530 Committer: Dinithi <[email protected]> Committed: Wed Sep 16 10:47:24 2015 +0530 ---------------------------------------------------------------------- .../themes/theme0/partials/applications_form.hbs | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/stratos/blob/c5bbeaa3/components/org.apache.stratos.manager.console/console/themes/theme0/partials/applications_form.hbs ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.manager.console/console/themes/theme0/partials/applications_form.hbs b/components/org.apache.stratos.manager.console/console/themes/theme0/partials/applications_form.hbs index 43d7c20..03c4bae 100644 --- a/components/org.apache.stratos.manager.console/console/themes/theme0/partials/applications_form.hbs +++ b/components/org.apache.stratos.manager.console/console/themes/theme0/partials/applications_form.hbs @@ -200,16 +200,20 @@ </div> <div class="bottom-bar-wrapper"> <div class="bottom-bar"> - <button class="btn btn-danger btn-lg hover-undeploy" - type="button" - id="{{applicationId}}"> Undeploy - </button> + <button class="btn btn-info btn-lg hover-details" type="button" id="details_{{applicationId}}" data-url="{{url ""}}/applications/{{applicationId}}/"> View </button> {{#if multiTenant}} + {{#if isSuperTenant}} + <button class="btn btn-danger btn-lg hover-undeploy" + type="button" + id="{{applicationId}}"> Undeploy + </button> + {{/if}} + {{#if signUpsExist}} <button class="btn btn-warning btn-lg hover-remove-signup" type="button" @@ -231,6 +235,10 @@ id="details_list_{{applicationId}}" data-url="{{url ""}}/applications/{{applicationId}}/" > View </button> + <button class="btn btn-danger btn-lg hover-undeploy" + type="button" + id="{{applicationId}}"> Undeploy + </button> </div> <div class="bottom-bar-wrapper"> <div class="bottom-bar">
