airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ndo...@apache.org
Subject [3/4] airavata-php-gateway git commit: Experiment details modifications
Date Tue, 02 Feb 2016 19:03:17 GMT
Experiment details modifications


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

Branch: refs/heads/develop
Commit: 810d7dc829aecbcdc4b6584ca20bf87fa9c19ad4
Parents: b1996f9
Author: Nipurn Doshi <nipunhere@gmail.com>
Authored: Tue Feb 2 11:59:33 2016 -0500
Committer: Nipurn Doshi <nipunhere@gmail.com>
Committed: Tue Feb 2 11:59:33 2016 -0500

----------------------------------------------------------------------
 app/views/partials/experiment-info.blade.php | 27 ++++++++++++++++-------
 1 file changed, 19 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/810d7dc8/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 7ff3f27..2b46d16 100644
--- a/app/views/partials/experiment-info.blade.php
+++ b/app/views/partials/experiment-info.blade.php
@@ -240,14 +240,25 @@
                             </span>
 
                                 @foreach( $process->tasks as $task)
-                                    <br/>Task Id : {{ $task->taskId }}
-                                    <br/>Task Type : {{ $expVal["taskTypes"][$task->taskType]
}}
-                                    <br/>Task Status : {{ $expVal["taskStates"][$task->taskStatus->state]
}}
-                                    <br/>Jobs : {{ count( $task->jobs)}}
-                                    <br/>@foreach( $task->jobs as $jobIndex =>
$job)
-                                            Job No. : {{ $jobIndex}}
-                                         @endforeach
-
+                                    <dl class="well dl-horizontal">
+                                        <dt>Task Id : </dt> <dd>{{ $task->taskId
}}</dd>
+                                        <dt>Task Type : </dt> <dd>{{ $expVal["taskTypes"][$task->taskType]
}}</dd>
+                                        <dt>Task Status : </dt> <dd>{{
$expVal["taskStates"][$task->taskStatus->state] }}</dd>
+                                    @if( is_object( $task->taskError))
+                                        <dt>Task Error Id : </dt><dd>{{
$task->taskError->errorId }}</dd>
+                                        <dt>Task Error Msg : </dt><dd>{{
$task->taskError->userFriendlyMessage }}</dd>
+                                    @endif
+                                    @if( count( $task->jobs) > 0 )
+                                        <dt>Jobs : </dt><dd>{{ count( $task->jobs)}}</dd>
+                                    @endif
+                                    @foreach( $task->jobs as $jobIndex => $job)
+                                        <dl class="well dl-horizontal">
+                                            <dt>Job Id. :</dt> <dd>{{ $job->jobId
}}</dd>
+                                            <dt>Job Name : </dt><dd>{{
$job->jobName }}</dd>
+                                            <dt>Job Description :</dt><dd>{{
$job->jobDescription }}</dd>
+                                        </dl>
+                                     @endforeach
+                                    </dl>
                                     <hr/>
                                 @endforeach
                         </li>


Mime
View raw message