Show Undeploy button to tenants for single tenant applications

Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/d0bc9279
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/d0bc9279
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/d0bc9279

Branch: refs/heads/stratos-4.1.x
Commit: d0bc92795638251c7c85f409764e4447f6b3b96e
Parents: 82f6aad
Author: Dinithi <[email protected]>
Authored: Wed Sep 16 17:09:10 2015 +0530
Committer: Dinithi <[email protected]>
Committed: Wed Sep 16 17:09:10 2015 +0530

----------------------------------------------------------------------
 .../console/themes/theme0/partials/applications_form.hbs        | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/d0bc9279/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 83a40be..9ee6a05 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
@@ -229,6 +229,11 @@
                                                         Signup
                                                     </button>
                                             {{/if}}
+                                        {{else}}
+                                            <button class="btn btn-danger 
btn-lg hover-undeploy"
+                                                    type="button"
+                                                    id="{{applicationId}}"> 
Undeploy
+                                            </button>
                                         {{/if}}
                                         </div>
                                     </div>

Reply via email to