2017-08-07 16:16:15 -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>
|
2016-12-01 10:39:04 -05:00
|
|
|
|
<button ion-button icon-only item-right large clear (click)="close()">
|
|
|
|
|
<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-07 16:16:15 -04:00
|
|
|
|
<ion-row>
|
|
|
|
|
<ion-col text-left class="col-fixed">
|
|
|
|
|
<button ion-button icon-left clear small (click)="close()">
|
|
|
|
|
<ion-icon name="close-circle"></ion-icon>
|
|
|
|
|
<div>Close</div>
|
|
|
|
|
</button>
|
|
|
|
|
</ion-col>
|
|
|
|
|
<ion-col text-center col-auto> </ion-col>
|
|
|
|
|
<ion-col text-center class="col-fixed" *ngIf="ref !== undefined && ref.Section.start.chapter !== '1'">
|
|
|
|
|
<button ion-button icon-left clear small (click)="prev()">
|
|
|
|
|
<ion-icon name="arrow-dropleft"></ion-icon>
|
|
|
|
|
<div>Prev</div>
|
|
|
|
|
</button>
|
|
|
|
|
</ion-col>
|
|
|
|
|
<ion-col text-center class="col-fixed">
|
|
|
|
|
<button ion-button icon-left clear small (click)="expand()">
|
|
|
|
|
<ion-icon name="code-working"></ion-icon>
|
|
|
|
|
<div>Expand</div>
|
|
|
|
|
</button>
|
|
|
|
|
</ion-col>
|
|
|
|
|
<ion-col text-center class="col-fixed" *ngIf="ref !== undefined && ref.Section.end.chapter !== ref.Section.end.lastchapter.toString()">
|
|
|
|
|
<button ion-button icon-right clear small (click)="next()">
|
|
|
|
|
<div>Next</div>
|
|
|
|
|
<ion-icon name="arrow-dropright"></ion-icon>
|
|
|
|
|
</button>
|
|
|
|
|
</ion-col>
|
|
|
|
|
</ion-row>
|