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/07/08 22:57:11 UTC

[2/3] airavata-php-gateway git commit: fixing AIRAVATA-1752

fixing AIRAVATA-1752


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

Branch: refs/heads/master
Commit: 636a45d1b32c348cd525e1fc1deed498e4a1b255
Parents: ccd5a93
Author: Supun Nakandala <sc...@apache.org>
Authored: Thu Jul 9 02:08:08 2015 +0530
Committer: Supun Nakandala <sc...@apache.org>
Committed: Thu Jul 9 02:08:08 2015 +0530

----------------------------------------------------------------------
 app/views/partials/experiment-queue-block.blade.php | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/636a45d1/app/views/partials/experiment-queue-block.blade.php
----------------------------------------------------------------------
diff --git a/app/views/partials/experiment-queue-block.blade.php b/app/views/partials/experiment-queue-block.blade.php
index 38b7e30..2cf4edf 100644
--- a/app/views/partials/experiment-queue-block.blade.php
+++ b/app/views/partials/experiment-queue-block.blade.php
@@ -43,14 +43,14 @@
 
         <div class="input-group">
             <input type="number" class="form-control" name="wall-time" id="wall-time" min="1"
-                   value="@if(isset($expVal) ){{ $expVal['scheduling']->wallTimeLimit }}@else{{$queueDefaults['wallTimeLimit']}}@endif"
+                   value="@if(isset($expVal)){{$expVal['scheduling']->wallTimeLimit}}@else{{$queueDefaults['wallTimeLimit']}}@endif"
                    required
             @if(isset($expVal)) @if(!$expVal['editable']){{disabled}} @endif @endif>
             <span class="input-group-addon">minutes</span>
         </div>
     </div>
     <div class="form-group">
-        <label for="wall-time">Total Physical Memory <span>( Max Allowed Memory - <span
+        <label for="physical-memory">Total Physical Memory <span>( Max Allowed Memory - <span
                     class="memory-count alert-warning"></span>)</span></label>
 
         <div class="input-group">
@@ -93,8 +93,8 @@
                     $(".cpu-count").parent().addClass("hide");
 
                 //walltime-count
-                if (queues[i]['maxRunTime'] != 0 && queues[i]['maxRunTime'] != null) {
-                    $("#wall-time").attr("max", queues[i]['maxRunTime']).val(0);
+                if (queues[i]['maxRunTime'] != null && queues[i]['maxRunTime'] != 0) {
+                    $("#wall-time").attr("max", queues[i]['maxRunTime']);
                     $(".walltime-count").html(queues[i]['maxRunTime']);
                     $(".walltime-count").parent().removeClass("hide");
                 }