airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scnakand...@apache.org
Subject [2/3] airavata-php-gateway git commit: Fixed create-complete screen
Date Thu, 18 Aug 2016 14:17:08 GMT
Fixed create-complete screen


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

Branch: refs/heads/develop
Commit: 9ff72964597e971cd43487c60bc06e57dbd6ce98
Parents: 81628aa
Author: Jeff Kinnison <jeffdkinnison@gmail.com>
Authored: Wed Aug 17 13:56:27 2016 -0400
Committer: Jeff Kinnison <jeffdkinnison@gmail.com>
Committed: Wed Aug 17 13:56:27 2016 -0400

----------------------------------------------------------------------
 app/controllers/ExperimentController.php       | 3 ++-
 app/views/experiment/create-complete.blade.php | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/9ff72964/app/controllers/ExperimentController.php
----------------------------------------------------------------------
diff --git a/app/controllers/ExperimentController.php b/app/controllers/ExperimentController.php
index 2cee7ab..3a3dcda 100755
--- a/app/controllers/ExperimentController.php
+++ b/app/controllers/ExperimentController.php
@@ -74,8 +74,9 @@ class ExperimentController extends BaseController
             );
 
             $users = SharingUtilities::getProfilesForSharedUsers($_POST['project'], ResourceType::PROJECT);
+            $owner = array();
 
-            return View::make("experiment/create-complete", array("expInputs" => $experimentInputs,
"users" => json_encode($users)));
+            return View::make("experiment/create-complete", array("expInputs" => $experimentInputs,
"users" => json_encode($users), "owner" => json_encode($owner)));
         } else if (isset($_POST['save']) || isset($_POST['launch'])) {
             $expId = ExperimentUtilities::create_experiment();
 

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/9ff72964/app/views/experiment/create-complete.blade.php
----------------------------------------------------------------------
diff --git a/app/views/experiment/create-complete.blade.php b/app/views/experiment/create-complete.blade.php
index ef76bcd..7ae755a 100755
--- a/app/views/experiment/create-complete.blade.php
+++ b/app/views/experiment/create-complete.blade.php
@@ -46,6 +46,7 @@
 @parent
 <script>
     var users = {{ $users }};
+    var owner = {{ $owner }};
     $('#project-share').data({url: "{{URL::to('/')}}/project/unshared-users", resourceId:
"{{$expInputs['project']}}"})
 </script>
 {{ HTML::script('js/sharing/sharing_utils.js') }}


Mime
View raw message