appPicture pipe, feed component update

This commit is contained in:
nixa 2016-05-05 17:35:23 +03:00
parent 07b1aeb835
commit d529265b37
6 changed files with 19 additions and 3 deletions

View file

@ -0,0 +1,10 @@
import {Pipe, PipeTransform} from 'angular2/core';
import {layoutPaths} from '../../../theme';
@Pipe({name: 'appPicture'})
export class AppPicturePipe implements PipeTransform {
transform(input:string, args:any[]):string {
return layoutPaths.images.root + input;
}
}

View file

@ -0,0 +1 @@
export * from './appPicture.pipe.ts';

View file

@ -1 +1,2 @@
export * from './profilePicture';
export * from './appPicture';