hiding some input types from app interface inputs and outputs
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/8dc708f4 Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/8dc708f4 Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/8dc708f4 Branch: refs/heads/dreg-gateway Commit: 8dc708f42fd7dbbac8fade9de79e18e13189d06c Parents: f199d9b Author: scnakandala <supun.nakand...@gmail.com> Authored: Wed Feb 15 14:41:31 2017 -0500 Committer: scnakandala <supun.nakand...@gmail.com> Committed: Wed Feb 15 14:41:39 2017 -0500 ---------------------------------------------------------------------- app/views/partials/interface-input-block.blade.php | 8 +++++--- app/views/partials/interface-output-block.blade.php | 8 +++++--- 2 files changed, 10 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/8dc708f4/app/views/partials/interface-input-block.blade.php ---------------------------------------------------------------------- diff --git a/app/views/partials/interface-input-block.blade.php b/app/views/partials/interface-input-block.blade.php index 0906d88..0e2d74f 100644 --- a/app/views/partials/interface-input-block.blade.php +++ b/app/views/partials/interface-input-block.blade.php @@ -26,9 +26,11 @@ <div class="col-md-9"> <select class="form-control" name="inputType[]" readonly> @foreach( $dataTypes as $index => $dataType) - <option value="{{ $index }}" - @if( isset( $appInputs) ) @if( $index == $appInputs->type) selected @endif @endif>{{ $dataType - }}</option> + @if( $dataType != 'URI_COLLECTION' && $dataType != 'STDOUT' && $dataType != 'STDERR') + <option value="{{ $index }}" + @if( isset( $appInputs) ) @if( $index == $appInputs->type) selected @endif @endif>{{ $dataType + }}</option> + @endif @endforeach </select> </div> http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/8dc708f4/app/views/partials/interface-output-block.blade.php ---------------------------------------------------------------------- diff --git a/app/views/partials/interface-output-block.blade.php b/app/views/partials/interface-output-block.blade.php index 329153b..32ac4e6 100644 --- a/app/views/partials/interface-output-block.blade.php +++ b/app/views/partials/interface-output-block.blade.php @@ -26,9 +26,11 @@ <div class="col-md-9"> <select class="form-control" name="outputType[]" readonly> @foreach( $dataTypes as $index => $dataType) - <option value="{{ $index }}" - @if( isset( $appOutputs) ) @if( $index == $appOutputs->type ) selected @endif @endif>{{ $dataType - }}</option> + @if( $dataType != 'URI_COLLECTION') + <option value="{{ $index }}" + @if( isset( $appOutputs) ) @if( $index == $appOutputs->type ) selected @endif @endif>{{ $dataType + }}</option> + @endif @endforeach </select> </div>