You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by ch...@apache.org on 2014/04/09 08:55:38 UTC

git commit: Fixing issue STRATOS-579 and fixin footer message

Repository: incubator-stratos
Updated Branches:
  refs/heads/master 9c0878b2e -> 819701dc9


Fixing issue STRATOS-579 and fixin footer message


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

Branch: refs/heads/master
Commit: 819701dc989fe9309f1421b2f9e8406555fc0004
Parents: 9c0878b
Author: Chanaka Jayasena <ch...@gmail.com>
Authored: Wed Apr 9 12:25:15 2014 +0530
Committer: Chanaka Jayasena <ch...@gmail.com>
Committed: Wed Apr 9 12:25:15 2014 +0530

----------------------------------------------------------------------
 .../console/themes/theme1/pages/index.hbs                       | 2 +-
 .../console/themes/theme1/pages/plain.hbs                       | 2 +-
 .../console/themes/theme1/ui/js/tenant_management.js            | 5 ++++-
 3 files changed, 6 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/819701dc/components/org.apache.stratos.manager.console/console/themes/theme1/pages/index.hbs
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.manager.console/console/themes/theme1/pages/index.hbs b/components/org.apache.stratos.manager.console/console/themes/theme1/pages/index.hbs
index 2b1aced..8686fce 100644
--- a/components/org.apache.stratos.manager.console/console/themes/theme1/pages/index.hbs
+++ b/components/org.apache.stratos.manager.console/console/themes/theme1/pages/index.hbs
@@ -74,7 +74,7 @@
         <div class="pull-left"><img src="{{url "/themes/theme1/ui/img/egg-logo.png"}}" /></div>
         <div class="pull-right footer-right">
         Copyright © 2014 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.
-        Apache SIS, Apache, the Apache feather logo are trademarks of The Apache Software Foundation.
+        Apache Stratos, Apache, the Apache feather logo are trademarks of The Apache Software Foundation.
         </div>
         <div style="clear:both"></div>
     </div>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/819701dc/components/org.apache.stratos.manager.console/console/themes/theme1/pages/plain.hbs
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.manager.console/console/themes/theme1/pages/plain.hbs b/components/org.apache.stratos.manager.console/console/themes/theme1/pages/plain.hbs
index d2c5dad..a4bd094 100644
--- a/components/org.apache.stratos.manager.console/console/themes/theme1/pages/plain.hbs
+++ b/components/org.apache.stratos.manager.console/console/themes/theme1/pages/plain.hbs
@@ -67,7 +67,7 @@
         <div class="pull-left"><img src="{{url "/themes/theme1/ui/img/egg-logo.png"}}" /></div>
         <div class="pull-right footer-right">
         Copyright © 2014 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.
-        Apache SIS, Apache, the Apache feather logo are trademarks of The Apache Software Foundation.
+        Apache Stratos, Apache, the Apache feather logo are trademarks of The Apache Software Foundation.
         </div>
         <div style="clear:both"></div>
     </div>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/819701dc/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/tenant_management.js
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/tenant_management.js b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/tenant_management.js
index 8c87065..69d354d 100644
--- a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/tenant_management.js
+++ b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/tenant_management.js
@@ -78,7 +78,10 @@ function manage_one(action,obj){
 
 function checkAvailability() {
     var domain = $('#tenantDomain').val();
-    console.info(domain);
+    if(domain.trim() == ""){
+        $('#domainMessage').show().html('Domain should not be empty.').addClass('noDomain').removeClass('hasDomain');
+        return;
+    }
     $.ajax({
         data:{domain:domain},
         url:"/console/controllers/checkAvailability.jag",