Return-Path: X-Original-To: apmail-airavata-commits-archive@www.apache.org Delivered-To: apmail-airavata-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BE41C18AEE for ; Sat, 23 Apr 2016 02:07:59 +0000 (UTC) Received: (qmail 93244 invoked by uid 500); 23 Apr 2016 02:07:59 -0000 Delivered-To: apmail-airavata-commits-archive@airavata.apache.org Received: (qmail 93118 invoked by uid 500); 23 Apr 2016 02:07:59 -0000 Mailing-List: contact commits-help@airavata.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airavata.apache.org Delivered-To: mailing list commits@airavata.apache.org Received: (qmail 92454 invoked by uid 99); 23 Apr 2016 02:07:59 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 Apr 2016 02:07:59 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 8D15AEAB5D; Sat, 23 Apr 2016 02:07:58 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: scnakandala@apache.org To: commits@airavata.apache.org Date: Sat, 23 Apr 2016 02:08:13 -0000 Message-Id: In-Reply-To: <657588be0f4745ae9a7bec11b3036ce8@git.apache.org> References: <657588be0f4745ae9a7bec11b3036ce8@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [16/23] airavata-php-gateway git commit: Fixed AIRAVATA-1952. User cannot launch an experiment if application is not deployed on a resource Fixed AIRAVATA-1952. User cannot launch an experiment if application is not deployed on a resource 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/06f82209 Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/06f82209 Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/06f82209 Branch: refs/heads/master Commit: 06f822094e337e21c8cf6a3d419e3af5490137d9 Parents: f36dca0 Author: Nipurn Doshi Authored: Fri Apr 15 16:24:19 2016 -0400 Committer: Nipurn Doshi Committed: Fri Apr 15 16:24:19 2016 -0400 ---------------------------------------------------------------------- app/libraries/ExperimentUtilities.php | 1 - app/views/experiment/edit.blade.php | 6 +++++- app/views/partials/experiment-inputs.blade.php | 1 + 3 files changed, 6 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/06f82209/app/libraries/ExperimentUtilities.php ---------------------------------------------------------------------- diff --git a/app/libraries/ExperimentUtilities.php b/app/libraries/ExperimentUtilities.php index fd28303..038e176 100644 --- a/app/libraries/ExperimentUtilities.php +++ b/app/libraries/ExperimentUtilities.php @@ -74,7 +74,6 @@ class ExperimentUtilities } array_multisort($order, SORT_ASC, $experimentInputs); if( count( $experimentInputs) > 0 ) { - echo '

Saved Inputs

'; foreach ($experimentInputs as $input) { $matchingAppInput = null; http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/06f82209/app/views/experiment/edit.blade.php ---------------------------------------------------------------------- diff --git a/app/views/experiment/edit.blade.php b/app/views/experiment/edit.blade.php index e73e5e7..7fbb968 100755 --- a/app/views/experiment/edit.blade.php +++ b/app/views/experiment/edit.blade.php @@ -24,7 +24,7 @@ @include('partials/experiment-inputs', array( "expInputs", $expInputs)) - + @if( count( $expInputs['computeResources']) > 0)
>
+ @else +

+ This experiment is connected with an Application which is currently not deployed on any Resource. The experiment cannot be launched at the moment. +

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/06f82209/app/views/partials/experiment-inputs.blade.php ---------------------------------------------------------------------- diff --git a/app/views/partials/experiment-inputs.blade.php b/app/views/partials/experiment-inputs.blade.php index 52446b6..6163afe 100644 --- a/app/views/partials/experiment-inputs.blade.php +++ b/app/views/partials/experiment-inputs.blade.php @@ -34,6 +34,7 @@

Enter Experiment Inputs

@if( $expInputs["clonedExp"] || $expInputs["savedExp"])
+

Current Inputs

{{ ExperimentUtilities::list_input_files($expInputs['experiment']->experimentInputs) }}