mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-01-05 09:08:50 +01:00
simplifying things with mock data - removed unnecessary entity relations
This commit is contained in:
parent
ce4671f81f
commit
0b399a4a1b
2 changed files with 22 additions and 45 deletions
|
|
@ -16,10 +16,9 @@
|
|||
</div>
|
||||
<div class="msg-list">
|
||||
<a *ngFor="#msg of notifications" href class="clearfix" >
|
||||
<div class="img-area"><img [ngClass]="{'photo-msg-item': !msg.image}" src="{{ ( msg.image || (users[msg.userId].name | profilePicture)) }}"></div>
|
||||
<div class="img-area"><img [ngClass]="{'photo-msg-item': !msg.image}" src="{{ ( msg.image || (msg.name | profilePicture)) }}"></div>
|
||||
<div class="msg-area">
|
||||
<div [innerHTML]="getMessage(msg)"></div>
|
||||
|
||||
<div>{{ msg.text }}</div>
|
||||
<span>{{ msg.time }}</span>
|
||||
</div>
|
||||
</a>
|
||||
|
|
@ -41,7 +40,7 @@
|
|||
</div>
|
||||
<div class="msg-list">
|
||||
<a *ngFor="#msg of messages" href class="clearfix">
|
||||
<div class="img-area"><img [ngClass]="{'photo-msg-item': !msg.image}" src="{{ ( msg.image || (users[msg.userId].name | profilePicture)) }}"></div>
|
||||
<div class="img-area"><img [ngClass]="{'photo-msg-item': !msg.image}" src="{{ ( msg.image || (msg.name | profilePicture)) }}"></div>
|
||||
<div class="msg-area">
|
||||
<div>{{ msg.text }}</div>
|
||||
<span>{{ msg.time }}</span>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue