Displaying deployed gateways too

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

Branch: refs/heads/dreg-gateway
Commit: 9515879de26ac6c130ad6eece545ca32d84196d6
Parents: 816ae6c
Author: Sneha Tilak <tilaks@Snehas-MacBook-Pro.local>
Authored: Tue Jul 4 11:17:53 2017 -0500
Committer: Sneha Tilak <tilaks@Snehas-MacBook-Pro.local>
Committed: Tue Jul 4 11:17:53 2017 -0500

----------------------------------------------------------------------
 app/views/admin/manage-gateway.blade.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/9515879d/app/views/admin/manage-gateway.blade.php
----------------------------------------------------------------------
diff --git a/app/views/admin/manage-gateway.blade.php 
b/app/views/admin/manage-gateway.blade.php
index a0df5a6..6867da6 100644
--- a/app/views/admin/manage-gateway.blade.php
+++ b/app/views/admin/manage-gateway.blade.php
@@ -158,7 +158,8 @@
 
                     <div class="panel-group super-admin-gateways-view" 
id="accordion1">
                         @foreach( $gateways as $indexGP => $gp )
-                            @if( 
$gatewayApprovalStatuses[$gp->gatewayApprovalStatus] == "CREATED")
+                            @if( 
$gatewayApprovalStatuses[$gp->gatewayApprovalStatus] == "CREATED" ||
+                                   
$gatewayApprovalStatuses[$gp->gatewayApprovalStatus] == "DEPLOYED" )
                                 
                                 @include('partials/gateway-preferences-block', 
array("gp" => $gp, "accName" => "accordion1"))
                                 

Reply via email to