airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scnakand...@apache.org
Subject airavata-php-gateway git commit: updating experiment-partials view to check nullity of appInt. and CR.
Date Tue, 30 Jun 2015 16:29:57 GMT
Repository: airavata-php-gateway
Updated Branches:
  refs/heads/airavata-php-gateway-0.15-release c0d62c56b -> 8edd44d43


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

Branch: refs/heads/airavata-php-gateway-0.15-release
Commit: 8edd44d43d401f85fab47a1017481e5f76511832
Parents: c0d62c5
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 21:59:38 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/8edd44d4/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