|
|
@@ -13,6 +13,7 @@
|
|
|
## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
## See the License for the specific language governing permissions and
|
|
|
## limitations under the License.
|
|
|
+
|
|
|
<%!
|
|
|
from desktop import conf
|
|
|
import urllib
|
|
|
@@ -288,7 +289,8 @@ from django.utils.translation import ugettext as _
|
|
|
|
|
|
<div class="navigator">
|
|
|
<div class="pull-right">
|
|
|
- % if user.is_authenticated():
|
|
|
+
|
|
|
+ % if user.is_authenticated() and section != 'login':
|
|
|
<ul class="nav nav-pills">
|
|
|
<li class="divider-vertical"></li>
|
|
|
% if 'filebrowser' in apps:
|
|
|
@@ -317,12 +319,12 @@ from django.utils.translation import ugettext as _
|
|
|
<li id="jHueTourFlagPlaceholder"></li>
|
|
|
</ul>
|
|
|
% endif
|
|
|
+
|
|
|
</div>
|
|
|
<a class="brand nav-tooltip pull-left" title="${_('About Hue')}" rel="navigator-tooltip" href="/about"><img src="/static/art/hue-logo-mini-white.png" data-orig="/static/art/hue-logo-mini-white.png" data-hover="/static/art/hue-logo-mini-white-hover.png"/></a>
|
|
|
+ % if user.is_authenticated() and section != 'login':
|
|
|
<ul class="nav nav-pills pull-left">
|
|
|
- % if user.is_authenticated():
|
|
|
<li><a title="${_('My documents')}" rel="navigator-tooltip" href="${ url('desktop.views.home') }" style="padding-bottom:2px!important"><i class="fa fa-home" style="font-size: 19px"></i></a></li>
|
|
|
- % endif
|
|
|
<%
|
|
|
query_apps = count_apps(apps, ['beeswax', 'impala', 'rdbms', 'pig', 'jobsub', 'spark']);
|
|
|
%>
|
|
|
@@ -415,6 +417,7 @@ from django.utils.translation import ugettext as _
|
|
|
</li>
|
|
|
% endif
|
|
|
</ul>
|
|
|
+ % endif
|
|
|
|
|
|
</div>
|
|
|
|