airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scnakand...@apache.org
Subject [1/2] airavata-php-gateway git commit: fixing app UIs to show "crete new" when no record is available
Date Thu, 06 Aug 2015 12:38:38 GMT
Repository: airavata-php-gateway
Updated Branches:
  refs/heads/0.15-release-branch 44e6b1f2d -> 08fb30c13


fixing app UIs to show "crete new" when no record is available


Project: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/commit/49d6fe35
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/49d6fe35
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/49d6fe35

Branch: refs/heads/0.15-release-branch
Commit: 49d6fe358d2c6e45e2d4f3ccf5a9263d7a818118
Parents: 3680d3b
Author: Supun Nakandala <scnakandala@apache.org>
Authored: Thu Aug 6 18:07:08 2015 +0530
Committer: Supun Nakandala <scnakandala@apache.org>
Committed: Thu Aug 6 18:07:08 2015 +0530

----------------------------------------------------------------------
 app/views/application/deployment.blade.php | 2 +-
 app/views/application/interface.blade.php  | 3 +--
 app/views/application/module.blade.php     | 2 +-
 3 files changed, 3 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/49d6fe35/app/views/application/deployment.blade.php
----------------------------------------------------------------------
diff --git a/app/views/application/deployment.blade.php b/app/views/application/deployment.blade.php
index 8595549..d8ac958 100644
--- a/app/views/application/deployment.blade.php
+++ b/app/views/application/deployment.blade.php
@@ -14,7 +14,6 @@
     <div id="page-wrapper">
 <div class="container-fluid">
     <div class="col-md-offset-2 col-md-8">
-        @if( count( $appDeployments) )
         @if( Session::has("message"))
         <div class="row">
             <div class="alert alert-success alert-dismissible" role="alert">
@@ -30,6 +29,7 @@
             <button class="btn btn-default create-app-deployment">Create a new Application
Deployment</button>
         </div>
         @endif
+        @if( count( $appDeployments) )
         <div class="row">
             <div class="col-md-6">
                 <h3>Existing Application Deployments :</h3>

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/49d6fe35/app/views/application/interface.blade.php
----------------------------------------------------------------------
diff --git a/app/views/application/interface.blade.php b/app/views/application/interface.blade.php
index 6862914..03ad860 100644
--- a/app/views/application/interface.blade.php
+++ b/app/views/application/interface.blade.php
@@ -14,7 +14,6 @@
     <div id="page-wrapper">
 <div class="container-fluid">
     <div class="col-md-offset-2 col-md-8">
-        @if( count( $appInterfaces) )
         @if( Session::has("message"))
         <div class="row">
             <div class="alert alert-success alert-dismissible" role="alert">
@@ -30,6 +29,7 @@
             <button class="btn btn-default create-app-interface">Create a new Application
Interface</button>
         </div>
         @endif
+        @if( count( $appInterfaces) )
         <div class="row">
 
             <div class="col-md-6">
@@ -72,7 +72,6 @@
             @endforeach
         </div>
         @endif
-
     </div>
 
     <div class="app-module-block hide">

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/49d6fe35/app/views/application/module.blade.php
----------------------------------------------------------------------
diff --git a/app/views/application/module.blade.php b/app/views/application/module.blade.php
index e75f4c4..520bef9 100644
--- a/app/views/application/module.blade.php
+++ b/app/views/application/module.blade.php
@@ -14,7 +14,6 @@
     <div id="page-wrapper">
 <div class="container-fluid">
     <div class="col-md-offset-2 col-md-8">
-        @if( count( $modules) )
         @if( Session::has("message"))
         <div class="row">
             <div class="alert alert-success alert-dismissible" role="alert">
@@ -35,6 +34,7 @@
         </div>
         {{ Session::forget("errorMessage") }}
         @endif
+        @if( count( $modules) )
         @if(Session::has("admin"))
         <div class="row">
             <button class="btn btn-default create-app-module" data-toggle="modal" data-target="#new-app-module-block">Create


Mime
View raw message