airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scnakand...@apache.org
Subject [03/50] [abbrv] airavata-php-gateway git commit: Removing bug where a failed experiment could be launched.
Date Tue, 09 Feb 2016 15:55:31 GMT
Removing bug where a failed experiment could be launched.


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

Branch: refs/heads/master
Commit: 6bf5d8c02c56201a033897d523d807828c192d51
Parents: 924ac06
Author: Nipurn Doshi <nipunhere@gmail.com>
Authored: Tue Jan 26 14:56:43 2016 -0500
Committer: Nipurn Doshi <nipunhere@gmail.com>
Committed: Tue Jan 26 14:56:43 2016 -0500

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


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/6bf5d8c0/app/libraries/ExperimentUtilities.php
----------------------------------------------------------------------
diff --git a/app/libraries/ExperimentUtilities.php b/app/libraries/ExperimentUtilities.php
index fafd1f2..354ab42 100644
--- a/app/libraries/ExperimentUtilities.php
+++ b/app/libraries/ExperimentUtilities.php
@@ -803,7 +803,6 @@ class ExperimentUtilities
             case 'CREATED':
             case 'VALIDATED':
             case 'SCHEDULED':
-            case 'FAILED':
                 $expVal["editable"] = true;
                 break;
             default:

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/6bf5d8c0/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 baee525..79b09db 100644
--- a/app/views/partials/experiment-info.blade.php
+++ b/app/views/partials/experiment-info.blade.php
@@ -163,11 +163,11 @@
                    type="submit"
                    class="btn btn-success"
                    value="Launch"
-                   title="Launch the experiment" <?php if (!$expVal["editable"]) echo
'style="display: none"' ?>>
+                   title="Launch the experiment" @if ( !$expVal["editable"]) style="display:
none" @endif>
             <a id="cancel_exp_link" href="{{URL::to('/') }}/experiment/cancel?expId={{
$experiment->experimentId }}"
                class="btn btn-default" onclick="return confirm('Are you sure you want to
cancel this experiment?')"
                role="button"
-               tit  le="Edit the experiment's settings" <?php if (!$expVal["cancelable"])
echo 'style="display: none"' ?>>
+               title="Edit the experiment's settings" @if (!$expVal["cancelable"]) style="display:
none" @endif>
                 <input name="cancel" type="submit" class="btn btn-warning"
                        value="Cancel" <?php if (!$expVal["cancelable"]) echo 'disabled';
?> >
             </a>


Mime
View raw message