mirror of
https://gitlab.com/walljm/dynamicbible.git
synced 2025-07-24 16:00:11 -04:00
59 lines
2.3 KiB
HTML
59 lines
2.3 KiB
HTML
<ion-item class="title strongs-title" padding (swipe)="close($event)">
|
|
<ion-icon name="paper" item-left></ion-icon>
|
|
<span *ngFor="let data of items"> {{ data.prefix }}{{ data.sn }}</span>
|
|
<button ion-button icon-only item-end large clear (click)="close()">
|
|
<ion-icon name="close-circle"></ion-icon>
|
|
</button>
|
|
</ion-item>
|
|
<ion-card-content>
|
|
<div *ngFor="let data of items">
|
|
<br />
|
|
<div class="strongs-def">
|
|
<h2>{{ data.prefix }}{{ data.sn }}</h2>
|
|
<p>
|
|
<b>{{ data.def.tr }}</b>
|
|
- {{ data.def.p }} - {{ data.def.lemma }} -
|
|
<span *ngFor="let part of data.def.de"
|
|
><ng-template [ngIf]="part.sn != null"
|
|
><a (click)="openItem(part.sn)">{{ part.sn }}</a></ng-template
|
|
><ng-template [ngIf]="part.w != null"><span [innerHTML]="part.w"></span></ng-template></span
|
|
><br />
|
|
</p>
|
|
<ng-template [ngIf]="data.rmac !== null">
|
|
<h2>RMAC</h2>
|
|
<b>{{ data.rmac.id }}</b>
|
|
<br />
|
|
<ul>
|
|
<li *ngFor="let c of data.rmac.d">
|
|
{{ c }}
|
|
</li>
|
|
</ul>
|
|
</ng-template>
|
|
</div>
|
|
<div class="strongs-cross" *ngIf="data.crossrefs != null && data.crossrefs.ss != null">
|
|
<h2>Cross References</h2>
|
|
Translated as {{ data.crossrefs.ss.length }} words
|
|
<ion-scroll scrollY="true">
|
|
<dl>
|
|
<dd *ngFor="let wrd of data.crossrefs.ss">
|
|
<strong>{{ wrd.w }}, {{ wrd.rs.length }}</strong
|
|
>:
|
|
<span *ngFor="let p of wrd.rs"
|
|
><a (click)="openPassage(p.r)">{{ makePassage(p.r) }}</a
|
|
>,
|
|
</span>
|
|
</dd>
|
|
</dl>
|
|
</ion-scroll>
|
|
</div>
|
|
<br style="clear: both" />
|
|
<!-- because you load with a promise, the height of the box doesn't get set properly-->
|
|
</div>
|
|
</ion-card-content>
|
|
|
|
<div style="float: right">
|
|
<button ion-button icon-center clear (click)="contextMenu()">
|
|
<ion-icon name="more"></ion-icon>
|
|
</button>
|
|
</div>
|