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/06/30 18:29:57 UTC

airavata-php-gateway git commit: updating experiment-partials view to check nullity of appInt. and CR.

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 <sc...@apache.org>
Authored: Tue Jun 30 21:59:38 2015 +0530
Committer: Supun Nakandala <sc...@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>