airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scnakand...@apache.org
Subject [2/4] airavata-php-gateway git commit: storage resource registering should be enabled only to the scigap admin
Date Thu, 07 Jan 2016 17:38:06 GMT
storage resource registering should be enabled only to the scigap admin


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

Branch: refs/heads/master
Commit: 6c46b9f36acb4b797ac76cf12d814cebe7f9dfce
Parents: 062aef9
Author: scnakandala <supun.nakandala@gmail.com>
Authored: Thu Jan 7 12:26:23 2016 -0500
Committer: scnakandala <supun.nakandala@gmail.com>
Committed: Thu Jan 7 12:26:23 2016 -0500

----------------------------------------------------------------------
 app/views/partials/dashboard-block.blade.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/6c46b9f3/app/views/partials/dashboard-block.blade.php
----------------------------------------------------------------------
diff --git a/app/views/partials/dashboard-block.blade.php b/app/views/partials/dashboard-block.blade.php
index 5b8c818..cf0205f 100644
--- a/app/views/partials/dashboard-block.blade.php
+++ b/app/views/partials/dashboard-block.blade.php
@@ -39,7 +39,7 @@
         <li>
             <a><span class="glyphicon glyphicon-folder-open"></span>&nbsp;
Storage Resources</a>
             <ul>
-                @if(Session::has("admin"))
+                @if(Session::has("scigap_admin"))
                 <li
                 @if( Session::has("admin-nav") && Session::get("admin-nav") == "sr-create")
class="active" @endif>
                     <a class="dashboard-link" href="{{ URL::to('/')}}/sr/create"><i
class="fa fa-fw fa-table"></i>Register</a>


Mime
View raw message