You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ma...@apache.org on 2017/07/02 00:47:00 UTC
[06/10] airavata-php-gateway git commit: Added redirect button to the
dashboard
Added redirect button to the dashboard
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/cdc4622f
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/cdc4622f
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/cdc4622f
Branch: refs/heads/develop
Commit: cdc4622f7be00c51533c34ac172a0266a46f6a09
Parents: b843930
Author: Sneha Tilak <ti...@149-160-244-249.dhcp-bl.indiana.edu>
Authored: Fri Jun 30 15:12:26 2017 -0400
Committer: Sneha Tilak <ti...@149-160-244-249.dhcp-bl.indiana.edu>
Committed: Fri Jun 30 15:12:26 2017 -0400
----------------------------------------------------------------------
app/libraries/CommonUtilities.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/cdc4622f/app/libraries/CommonUtilities.php
----------------------------------------------------------------------
diff --git a/app/libraries/CommonUtilities.php b/app/libraries/CommonUtilities.php
index b929cbf..abb2d8b 100644
--- a/app/libraries/CommonUtilities.php
+++ b/app/libraries/CommonUtilities.php
@@ -219,12 +219,12 @@ class CommonUtilities
$navbar .= CommonUtilities::get_notices_ui( $notices);
}
- if( !Session::has("gateway-provider"))
+ if( Session::has("gateway-provider"))
{
if (Session::has("admin") || Session::has("admin-read-only") )
$navbar .= '<li class="' . $active . '"><a href="' . URL::to("/") . '/admin/dashboard"><span class="glyphicon glyphicon-user"></span>Admin Dashboard</a></li>';
else
- $navbar .= '<li class="' . $active . '"><a href="' . URL::to("/") . '/account/dashboard"><span class="glyphicon glyphicon-user"></span> Dashboard</a></li>';
+ $navbar .= '<li class="' . $active . '"><a href="' . URL::to("/") . '/account/dashboard"><span class="glyphicon glyphicon-user"></span>Dashboard</a></li>';
}
$navbar .= '<li class="dropdown' . (Session::get("nav-active") == 'user-menu' ? ' active' : '') . '">