mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-03-04 11:11:05 +01:00
remove href attribute.
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
<nav class="collapse navbar-collapse" collapse="!isCollapsed" role="navigation">
|
||||
<ul class="nav navbar-nav" data-ng-if="menu.shouldRender(authentication.user);">
|
||||
<li data-ng-repeat="item in menu.items | orderBy: 'position'" data-ng-if="item.shouldRender(authentication.user);" ng-switch="item.type" data-ng-class="{ active: $state.includes(item.state), dropdown: item.type === 'dropdown' }" class="{{item.class}}" dropdown="item.type === 'dropdown'">
|
||||
<a ng-switch-when="dropdown" href="#" class="dropdown-toggle" dropdown-toggle role="button">{{::item.title}} <span class="caret"></span></a>
|
||||
<a ng-switch-when="dropdown" class="dropdown-toggle" dropdown-toggle role="button">{{::item.title}} <span class="caret"></span></a>
|
||||
<ul ng-switch-when="dropdown" class="dropdown-menu">
|
||||
<li data-ng-repeat="subitem in item.items | orderBy: 'position'" data-ng-if="subitem.shouldRender(authentication.user);" data-ui-sref-active="active">
|
||||
<a data-ui-sref="{{subitem.state}}" data-ng-bind="subitem.title"></a>
|
||||
@@ -31,7 +31,7 @@
|
||||
</ul>
|
||||
<ul class="nav navbar-nav navbar-right" data-ng-show="authentication.user">
|
||||
<li class="dropdown" dropdown>
|
||||
<a href="#" class="dropdown-toggle user-header-dropdown-toggle" dropdown-toggle role="button">
|
||||
<a class="dropdown-toggle user-header-dropdown-toggle" dropdown-toggle role="button">
|
||||
<img data-ng-src="{{authentication.user.profileImageURL}}" alt="{{authentication.user.displayName}}" class="header-profile-image"/>
|
||||
<span data-ng-bind="authentication.user.displayName"></span> <b class="caret"></b>
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user