mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-01-30 05:05:18 +01:00
profilePicturePipe -> baProfilePicturePipe
This commit is contained in:
parent
e3982b255e
commit
33b75eca35
10 changed files with 15 additions and 15 deletions
|
|
@ -1,12 +1,12 @@
|
|||
import {Component} from '@angular/core';
|
||||
|
||||
import {ProfilePicturePipe} from '../../pipes';
|
||||
import {BaProfilePicturePipe} from '../../pipes';
|
||||
|
||||
@Component({
|
||||
selector: 'msg-center',
|
||||
styles: [require('./msgCenter.scss')],
|
||||
template: require('./msgCenter.html'),
|
||||
pipes: [ProfilePicturePipe]
|
||||
pipes: [BaProfilePicturePipe]
|
||||
})
|
||||
export class MsgCenter {
|
||||
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
<div class="msg-list">
|
||||
<a *ngFor="let msg of notifications" href class="clearfix">
|
||||
<div class="img-area"><img [ngClass]="{'photo-msg-item': !msg.image}"
|
||||
src="{{ ( msg.image || (msg.name | profilePicture)) }}"></div>
|
||||
src="{{ ( msg.image || (msg.name | baProfilePicture)) }}"></div>
|
||||
<div class="msg-area">
|
||||
<div>{{ msg.text }}</div>
|
||||
<span>{{ msg.time }}</span>
|
||||
|
|
@ -42,7 +42,7 @@
|
|||
<div class="msg-list">
|
||||
<a *ngFor="let msg of messages" href class="clearfix">
|
||||
<div class="img-area"><img [ngClass]="{'photo-msg-item': !msg.image}"
|
||||
src="{{ ( msg.image || (msg.name | profilePicture)) }}"></div>
|
||||
src="{{ ( msg.image || (msg.name | baProfilePicture)) }}"></div>
|
||||
<div class="msg-area">
|
||||
<div>{{ msg.text }}</div>
|
||||
<span>{{ msg.time }}</span>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import {Component, ViewEncapsulation} from '@angular/core';
|
||||
|
||||
import {AppState} from '../../../app.state';
|
||||
import {ProfilePicturePipe} from '../../pipes';
|
||||
import {BaProfilePicturePipe} from '../../pipes';
|
||||
import {MsgCenter} from '../../components/msgCenter';
|
||||
import {BaScrollPosition} from '../../directives';
|
||||
|
||||
|
|
@ -10,7 +10,7 @@ import {BaScrollPosition} from '../../directives';
|
|||
styles: [require('./pageTop.scss')],
|
||||
template: require('./pageTop.html'),
|
||||
directives: [MsgCenter, BaScrollPosition],
|
||||
pipes: [ProfilePicturePipe],
|
||||
pipes: [BaProfilePicturePipe],
|
||||
encapsulation: ViewEncapsulation.None
|
||||
})
|
||||
export class PageTop {
|
||||
|
|
|
|||
|
|
@ -11,7 +11,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="{{ ( 'Nasta' | profilePicture ) }}">
|
||||
<img src="{{ ( 'Nasta' | baProfilePicture ) }}">
|
||||
</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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue