
BREAKING CHANGE: Angular is now fully camel case. Before: <p *ng-if="cond"> <my-cmp [my-prop]="exp"> <my-cmp (my-event)="action()"> <my-cmp [(my-prop)]="prop"> <input #my-input> <template ng-for #my-item [ng-for-of]=items #my-index="index"> After <p *ngIf="cond"> <my-cmp [myProp]="exp"> <my-cmp (myEvent)="action()"> <my-cmp [(myProp)]="prop"> <input #myInput>`, <template ngFor="#my-item" [ngForOf]=items #myIndex="index"> The full details are found in [angular2/docs/migration/kebab-case.md](https://github.com/angular/angular/blob/master/modules/angular2/docs/migration/kebab-case.md)
25 lines
616 B
HTML
25 lines
616 B
HTML
<div>
|
|
<h2 class="page-title">{{ record.subject }}</h2>
|
|
|
|
<ul>
|
|
<li id="record-id">ID: {{ record.id }}</li>
|
|
<li id="record-name">Name: {{ record.firstName }} {{ record.lastName }}</li>
|
|
<li id="record-email">Email: {{ record.email }}</li>
|
|
<li id="record-date">Date: {{ record.date }}</li>
|
|
</ul>
|
|
|
|
<p>
|
|
{{ record.content }}
|
|
</p>
|
|
|
|
<span class="btn medium primary">
|
|
<a [routerLink]="record.draft ? ['../Drafts'] : ['../Inbox']" class="back-button">Back</a>
|
|
</span>
|
|
|
|
<hr />
|
|
|
|
<a [routerLink]="['../Inbox', { sort: 'date'} ]" class="sort-button">
|
|
View Latest Messages
|
|
</a>
|
|
</div>
|