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/15 19:24:08 UTC
airavata-php-gateway git commit: fixing AIRAVATA-1750
Repository: airavata-php-gateway
Updated Branches:
refs/heads/0.15-release-branch 1a6fa4b46 -> 0535c0378
fixing AIRAVATA-1750
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/0535c037
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/0535c037
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/0535c037
Branch: refs/heads/0.15-release-branch
Commit: 0535c03784febeb92169a1fd6ed14fd2fa2306e4
Parents: 1a6fa4b
Author: Supun Nakandala <sc...@apache.org>
Authored: Wed Jul 15 22:53:48 2015 +0530
Committer: Supun Nakandala <sc...@apache.org>
Committed: Wed Jul 15 22:53:48 2015 +0530
----------------------------------------------------------------------
app/views/partials/interface-block.blade.php | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/0535c037/app/views/partials/interface-block.blade.php
----------------------------------------------------------------------
diff --git a/app/views/partials/interface-block.blade.php b/app/views/partials/interface-block.blade.php
index bb6e841..1f97e4f 100644
--- a/app/views/partials/interface-block.blade.php
+++ b/app/views/partials/interface-block.blade.php
@@ -14,11 +14,10 @@
</div>
<div class="form-group">
<label class="control-label">Application Modules</label>
-
<div class="app-modules">
+ @if( isset( $interfaceObject))
<div class="input-group">
<select name="applicationModules[]" class="app-module-select form-control" style="min-width: 200px" readonly>
- @if( isset( $interfaceObject))
@for( $i=0; $i< count( $interfaceObject->applicationModules); $i++ )
@foreach( $modules as $index => $module)
@if( $interfaceObject->applicationModules[$i] == $module->appModuleId)
@@ -26,10 +25,10 @@
@endif
@endforeach
@endfor
- @endif
</select>
<span class="input-group-addon hide remove-app-module" style="cursor:pointer;">x</span>
</div>
+ @endif
</div>
<button type="button" class="hide btn btn-default add-app-module">Add Application Module</button>
</div>