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 22:40:36 UTC

[6/8] airavata-php-gateway git commit: fixing AIRAVATA-1742

fixing AIRAVATA-1742


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

Branch: refs/heads/master
Commit: 28f94f1d6c8cfdab5e015cedbd78b061c9ea70d4
Parents: cad9f1a
Author: Supun Nakandala <sc...@apache.org>
Authored: Wed Jul 1 01:18:15 2015 +0530
Committer: Supun Nakandala <sc...@apache.org>
Committed: Wed Jul 1 02:09:38 2015 +0530

----------------------------------------------------------------------
 app/libraries/ExperimentUtilities.php        | 3 ++-
 app/views/partials/experiment-info.blade.php | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/28f94f1d/app/libraries/ExperimentUtilities.php
----------------------------------------------------------------------
diff --git a/app/libraries/ExperimentUtilities.php b/app/libraries/ExperimentUtilities.php
index 5a924b1..e3de925 100644
--- a/app/libraries/ExperimentUtilities.php
+++ b/app/libraries/ExperimentUtilities.php
@@ -81,7 +81,8 @@ class ExperimentUtilities
             if ($matchingAppInput->type == DataType::URI) {
                 $explode = explode('/', $input->value);
                 echo '<p><a target="_blank"
-                        href="' . URL::to("/") . Config::get('pga_config.airavata')['experiment-data-dir'] . $explode[sizeof($explode) - 2] . '/' . $explode[sizeof($explode) - 1] . '">' .
+                        href="' . URL::to("/") . "/.." . Config::get('pga_config.airavata')['experiment-data-dir']
+                    . "/" . $explode[sizeof($explode) - 2] . '/' . $explode[sizeof($explode) - 1] . '">' .
                     $explode[sizeof($explode) - 1] . '
                 <span class="glyphicon glyphicon-new-window"></span></a></p>';
             } elseif ($matchingAppInput->type == DataType::STRING) {

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/28f94f1d/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 782f580..5b69cfe 100644
--- a/app/views/partials/experiment-info.blade.php
+++ b/app/views/partials/experiment-info.blade.php
@@ -103,7 +103,7 @@
         </tr>
         <tr>
             <td><strong>Inputs</strong></td>
-            <td><?php ProjectUtilities::get_project($experiment->projectID); ?></td>
+            <td><?php ExperimentUtilities::list_input_files($experiment); ?></td>
         </tr>
         <tr>
             <td><strong>Outputs</strong></td>