You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sm...@apache.org on 2015/07/14 18:38:35 UTC

[30/40] 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/e78e879b
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/e78e879b
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/e78e879b

Branch: refs/heads/0.15-release-branch
Commit: e78e879b8d30c500b2bfb6ef49b8344e3314cc42
Parents: 8edd44d
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 01:18:15 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/e78e879b/app/libraries/ExperimentUtilities.php
----------------------------------------------------------------------
diff --git a/app/libraries/ExperimentUtilities.php b/app/libraries/ExperimentUtilities.php
index f74a05b..f5a9c03 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/e78e879b/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>