airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scnakand...@apache.org
Subject [2/8] airavata-php-gateway git commit: placeholder for account creation email
Date Thu, 16 Jul 2015 13:40:08 GMT
placeholder for account creation email


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

Branch: refs/heads/0.15-release-branch
Commit: 84354dd029329b8820cc23e03e7d7d3eb3e47766
Parents: c97b28f
Author: Supun Nakandala <scnakandala@apache.org>
Authored: Thu Jul 16 18:34:04 2015 +0530
Committer: Supun Nakandala <scnakandala@apache.org>
Committed: Thu Jul 16 18:34:04 2015 +0530

----------------------------------------------------------------------
 app/libraries/ProjectUtilities.php | 9 +--------
 app/views/account/create.blade.php | 2 +-
 2 files changed, 2 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/84354dd0/app/libraries/ProjectUtilities.php
----------------------------------------------------------------------
diff --git a/app/libraries/ProjectUtilities.php b/app/libraries/ProjectUtilities.php
index 280b116..76d99ae 100644
--- a/app/libraries/ProjectUtilities.php
+++ b/app/libraries/ProjectUtilities.php
@@ -142,14 +142,7 @@ class ProjectUtilities
 
         try {
             $projectId = Airavata::createProject(Config::get('pga_config.airavata')['gateway-id'],
$project);
-
-            if ($projectId) {
-                CommonUtilities::print_success_message("<p>Project {$_POST['project-name']}
created!</p>" .
-                    '<p>You will be redirected to the summary page shortly, or you
can
-                    <a href="project/summary?projId=' . $projectId . '">go directly</a>
to the project summary page.</p>');
-            } else {
-                CommonUtilities::print_error_message("Error creating project {$_POST['project-name']}!");
-            }
+            
         } catch (InvalidRequestException $ire) {
             CommonUtilities::print_error_message('InvalidRequestException!<br><br>'
. $ire->getMessage());
         } catch (AiravataClientException $ace) {

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/84354dd0/app/views/account/create.blade.php
----------------------------------------------------------------------
diff --git a/app/views/account/create.blade.php b/app/views/account/create.blade.php
index 0709d2e..0f88e24 100755
--- a/app/views/account/create.blade.php
+++ b/app/views/account/create.blade.php
@@ -49,7 +49,7 @@
         </div>
         <div class="form-group required"><label class="control-label">E-mail</label>
 
-            <div><input class="form-control" id="email" name="email" placeholder="E-mail"
+            <div><input class="form-control" id="email" name="email" placeholder="email@example.com"
                         required="required" title="" type="email" value="{{Input::old('email')
}}"/></div>
         </div>
         <div class="form-group required"><label class="control-label">First Name</label>


Mime
View raw message