msgCenter component, profilePicture pipe, images migration

This commit is contained in:
nixa 2016-04-26 17:44:17 +03:00
parent bfe60df201
commit 9b9ea045f0
105 changed files with 24259 additions and 17 deletions

View file

@ -0,0 +1,11 @@
import {Pipe, PipeTransform} from 'angular2/core';
import {layoutPaths} from '../../theme.constants';
@Pipe({name: 'profilePicture'})
export class ProfilePicturePipe implements PipeTransform {
transform(input: string, args:string[]): string {
let ext = args[0] || 'png';
return layoutPaths.images.profile + input + '.' + ext;
}
}