You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sc...@apache.org on 2015/10/27 02:28:13 UTC

airavata-php-gateway git commit: fixing missing add new button

Repository: airavata-php-gateway
Updated Branches:
  refs/heads/master d836aafc6 -> 4781b74ee


fixing missing add new button


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/4781b74e
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/4781b74e
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/4781b74e

Branch: refs/heads/master
Commit: 4781b74ee75afd9a156db29697d9954039027801
Parents: d836aaf
Author: scnakandala <su...@gmail.com>
Authored: Mon Oct 26 21:28:09 2015 -0400
Committer: scnakandala <su...@gmail.com>
Committed: Mon Oct 26 21:28:09 2015 -0400

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


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/4781b74e/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/4781b74e/app/views/application/interface.blade.php
----------------------------------------------------------------------
diff --git a/app/views/application/interface.blade.php b/app/views/application/interface.blade.php
index 1527ccf..a78c523 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">

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/4781b74e/app/views/application/module.blade.php
----------------------------------------------------------------------
diff --git a/app/views/application/module.blade.php b/app/views/application/module.blade.php
index 557f6ff..a25ee01 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
+        @endif
         @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
@@ -42,6 +42,8 @@
             </button>
         </div>
         @endif
+
+        @if( count( $modules) )
         <div class="row">
             <div class="col-md-6">
                 <h3>Existing Modules :</h3>