main user profile avatar fix

This commit is contained in:
nixa 2016-04-27 11:06:16 +03:00
parent c78c5299e2
commit ce4671f81f
3 changed files with 6 additions and 3 deletions

View file

@ -1,11 +1,13 @@
import {Component, ViewEncapsulation} from 'angular2/core';
import {MsgCenter} from '../msgCenter';
import {ProfilePicturePipe} from '../pipes/image/profile-picture.pipe';
@Component({
selector: 'page-top',
styles: [ require('./pageTop.scss') ],
template: require('./pageTop.html'),
directives: [MsgCenter]
directives: [MsgCenter],
pipes: [ProfilePicturePipe]
})
export class PageTop {}

View file

@ -10,7 +10,7 @@
<div class="user-profile clearfix">
<div class="dropdown al-user-profile">
<a class="profile-toggle-link dropdown-toggle" id="user-profile-dd" data-toggle="dropdown" aria-expanded="false">
<img src="http://akveo.com/blur-admin/assets/img/app/profile/Nasta.png">
<img src="{{ ( 'Nasta' | profilePicture ) }}">
</a>
<div class="dropdown-menu top-dropdown-menu profile-dropdown" aria-labelledby="user-profile-dd">
<li class="dropdown-item"><i class="dropdown-arr"></i></li>
@ -21,4 +21,4 @@
</div>
<msg-center></msg-center>
</div>
</div>
</div>

View file

@ -25,6 +25,7 @@ a.al-logo {
float: left;
outline: none !important;
line-height: 60px;
text-decoration: none;
span {
color: $primary;