link for logo

This commit is contained in:
Davide Alberani 2015-05-10 10:32:21 +02:00
parent 708ea866d0
commit 928a737de4

View file

@ -46,7 +46,7 @@
<nav class="navbar navbar-default navbar-fixed-top" ng-controller="NavigationCtrl"> <nav class="navbar navbar-default navbar-fixed-top" ng-controller="NavigationCtrl">
<div class="container"> <div class="container">
<div class="navbar-header"> <div class="navbar-header">
<div ng-if="logo.imgURL" class="navbar-brand"><img src="{{logo.imgURL}}" /></div> <div ng-if="logo.imgURL" class="navbar-brand"><a ng-if="logo.link" href="{{logo.link}}" target="_blank"><img src="{{logo.imgURL}}" /></a></div>
<ul class="nav navbar-nav"> <ul class="nav navbar-nav">
<li ng-class="{active: isActive('/events') || isActive('/event')}"><a ui-sref="events">{{'Events' | translate}}</a></li> <li ng-class="{active: isActive('/events') || isActive('/event')}"><a ui-sref="events">{{'Events' | translate}}</a></li>
<li ng-class="{active: isActive('/persons') || isActive('/person') || isActive('/import/persons')}"><a ui-sref="persons">{{'Persons' | translate}}</a></li> <li ng-class="{active: isActive('/persons') || isActive('/person') || isActive('/import/persons')}"><a ui-sref="persons">{{'Persons' | translate}}</a></li>