airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scnakand...@apache.org
Subject [29/42] airavata-php-gateway git commit: updating experiment-partials view to check nullity of appInt. and CR.
Date Mon, 13 Jul 2015 17:25:23 GMT
updating experiment-partials view to check nullity of appInt. and CR.


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

Branch: refs/heads/airavata-php-gateway-0.15-release
Commit: 6e33674aa62d33848587ceb57caa918cb24efb96
Parents: 378c475
Author: Supun Nakandala <scnakandala@apache.org>
Authored: Tue Jun 30 21:59:38 2015 +0530
Committer: Supun Nakandala <scnakandala@apache.org>
Committed: Tue Jun 30 22:03:12 2015 +0530

----------------------------------------------------------------------
 app/views/partials/experiment-info.blade.php | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/6e33674a/app/views/partials/experiment-info.blade.php
----------------------------------------------------------------------
diff --git a/app/views/partials/experiment-info.blade.php b/app/views/partials/experiment-info.blade.php
index 623eb53..782f580 100644
--- a/app/views/partials/experiment-info.blade.php
+++ b/app/views/partials/experiment-info.blade.php
@@ -33,11 +33,15 @@
         </tr>
         <tr>
             <td><strong>Application</strong></td>
-            <td><?php echo $expVal["applicationInterface"]->applicationName;
?></td>
+            <td><?php if (!empty($expVal["applicationInterface"])) {
+                    echo $expVal["applicationInterface"]->applicationName;
+                } ?></td>
         </tr>
         <tr>
             <td><strong>Compute resource</strong></td>
-            <td><?php echo $expVal["computeResource"]->hostName; ?></td>
+            <td><?php if (!empty($expVal["computeResource"])) {
+                    $expVal["computeResource"]->hostName;
+                } ?></td>
         </tr>
         <tr>
             <td><strong>Experiment Status</strong></td>


Mime
View raw message