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/02/01 13:36:44 UTC
[15/21] airavata-php-gateway git commit: Brand logo modifications for
theming.
Brand logo modifications for theming.
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/6e37d636
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/6e37d636
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/6e37d636
Branch: refs/heads/dreg-gateway
Commit: 6e37d636e2b6069b83cd619368c446d3ea7756bc
Parents: 998ac38
Author: Nipurn Doshi <ni...@gmail.com>
Authored: Wed Jan 25 12:27:49 2017 -0800
Committer: Nipurn Doshi <ni...@gmail.com>
Committed: Wed Jan 25 12:27:49 2017 -0800
----------------------------------------------------------------------
app/libraries/CommonUtilities.php | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/6e37d636/app/libraries/CommonUtilities.php
----------------------------------------------------------------------
diff --git a/app/libraries/CommonUtilities.php b/app/libraries/CommonUtilities.php
index 4159136..585016f 100644
--- a/app/libraries/CommonUtilities.php
+++ b/app/libraries/CommonUtilities.php
@@ -157,6 +157,12 @@ class CommonUtilities
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-2">
<ul class="nav navbar-nav">';
+
+ $navbar .= '<li>
+ <a href="' . URL::to("/") . '">
+ <span class="brand-logo"></span>
+ </a>
+ </li>';
foreach ($menus as $label => $options) {
@@ -181,8 +187,6 @@ class CommonUtilities
$navbar .= '</ul></li>';
}
- if( count( $menus) == 0)
- $navbar .= '<li class="brand-logo"></li>';
$active = "";
if(Session::has('loggedin') &&