2017-08-11 16:01:33 -04:00
|
|
|
<ion-item class="title passage-title" (swipe)="close()">
|
2017-01-26 22:26:48 -05:00
|
|
|
<ion-icon name="book" item-left></ion-icon> <span *ngIf="data !== undefined"><span *ngIf="data.status === -1">Error:</span>{{data.ref}}</span>
|
2017-08-22 10:25:12 -04:00
|
|
|
<button ion-button icon-only item-end large clear (click)="close()">
|
2016-12-01 10:39:04 -05:00
|
|
|
<ion-icon name="close-circle"></ion-icon>
|
|
|
|
</button>
|
|
|
|
</ion-item>
|
2017-01-26 22:26:48 -05:00
|
|
|
<ion-card-content *ngIf="data !== undefined && data.status === 0">
|
2017-01-04 15:38:36 -05:00
|
|
|
<br>
|
2017-01-24 16:43:58 -05:00
|
|
|
<div class="passage-text" *ngFor="let ch of data.cs">
|
|
|
|
<h2 *ngIf="data.cs.length > 1">
|
2017-01-18 17:51:06 -05:00
|
|
|
<b>Chapter {{ch.ch}}</b>
|
2017-01-04 15:38:36 -05:00
|
|
|
</h2>
|
2017-01-18 17:51:06 -05:00
|
|
|
<span *ngFor="let vs of ch.vss">
|
|
|
|
<b>{{vs.v}}.</b> <span *ngFor="let w of vs.w">
|
2017-01-20 18:57:02 -05:00
|
|
|
<template [ngIf]="!isPunct(w.t)"> </template><a *ngIf="w.s != null" (click)="openStrongs(w.s)" (press)="openMenu(w.s)">{{w.t}}</a>
|
|
|
|
<template [ngIf]="w.s == null">{{w.t}}</template>
|
2017-01-21 02:21:44 -05:00
|
|
|
</span><br *ngIf="versesOnNewLine">
|
2017-01-18 17:51:06 -05:00
|
|
|
</span>
|
2016-12-01 10:39:04 -05:00
|
|
|
</div>
|
|
|
|
</ion-card-content>
|
2017-01-26 22:26:48 -05:00
|
|
|
<ion-card-content *ngIf="data !== undefined && data.status === -1">
|
|
|
|
<error-message [msg]="data.msg"></error-message>
|
|
|
|
</ion-card-content>
|
2017-08-11 16:01:33 -04:00
|
|
|
<div style="float: left">
|
2017-08-22 10:25:12 -04:00
|
|
|
<button ion-button icon-start clear (click)="close()">
|
2017-08-11 16:01:33 -04:00
|
|
|
<ion-icon name="close-circle"></ion-icon>
|
|
|
|
<div>Close</div>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div style="float: right">
|
|
|
|
<button ion-button icon-center clear (click)="prev()" *ngIf="ref !== undefined && ref.Section.start.chapter !== '1'">
|
|
|
|
<ion-icon name="rewind"></ion-icon>
|
|
|
|
</button>
|
|
|
|
<button ion-button icon-center clear (click)="expand()">
|
|
|
|
<ion-icon name="code-working"></ion-icon>
|
|
|
|
</button>
|
2017-08-23 17:53:03 -04:00
|
|
|
<button ion-button icon-center clear (click)="next()" *ngIf="ref !== undefined && ref.Section.end.chapter !== ref.Section.end.book.last_chapter.toString()">
|
2017-08-11 16:01:33 -04:00
|
|
|
<ion-icon name="fastforward"></ion-icon>
|
|
|
|
</button>
|
2017-08-22 10:25:12 -04:00
|
|
|
</div>
|