2018-04-19 11:05:23 -04:00
< ion-item class = "title strongs-title {{data.prefix}}" padding ( swipe ) = " close ( ) " >
2017-08-23 19:41:32 -04:00
< ion-icon name = "paper" item-left > < / ion-icon > < span * ngIf = "data !== undefined" > < span * ngIf = "data.status === -1" > Error:< / span > {{data.prefix}}{{data.sn}}< / 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" >
2016-12-02 13:00:55 -05:00
< br >
2017-01-04 15:38:36 -05:00
< div class = "strongs-def" >
2017-01-24 16:43:58 -05:00
< h2 > Strong's Definitition< / h2 >
< p >
2017-08-24 10:54:15 -04:00
< b > {{data.def.tr}} < ng-template [ ngIf ] = " data . def . sn ! = null " > ({{data.def.sn}})< / ng-template > < / b >
2017-01-24 16:43:58 -05:00
- {{data.def.p}} - {{data.def.lemma}} -
2017-08-24 10:54:15 -04:00
< 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 >
2017-01-04 15:38:36 -05:00
< / p >
2017-08-24 10:54:15 -04:00
< ng-template [ ngIf ] = " data . rmac ! = = null " >
2017-01-04 15:38:36 -05:00
< h2 > RMAC< / h2 >
2017-01-24 16:43:58 -05:00
< b > {{data.rmac.id}}< / b >
2017-01-04 15:38:36 -05:00
< br >
< ul >
2017-01-24 16:43:58 -05:00
< li * ngFor = "let c of data.rmac.d" >
2017-01-04 15:38:36 -05:00
{{c}}
< / li >
< / ul >
2017-08-24 10:54:15 -04:00
< / ng-template >
2017-01-04 15:38:36 -05:00
< / div >
2017-01-31 14:16:51 -05:00
< div class = "strongs-cross" * ngIf = "data.crossrefs != null && data.crossrefs.ss != null" >
2017-01-04 15:38:36 -05:00
< h2 > Cross References< / h2 >
2017-01-27 23:39:55 -05:00
Translated as {{data.crossrefs.ss.length}} words
2017-01-04 15:38:36 -05:00
< ion-scroll scrollY = "true" >
< dl >
2017-01-24 16:43:58 -05:00
< dd * ngFor = "let wrd of data.crossrefs.ss" >
2017-01-27 23:19:42 -05:00
< strong > {{wrd.w}}< / strong > : < span * ngFor = "let p of wrd.rs" > < a ( click ) = " openPassage ( p . r ) " > {{makePassage(p.r)}}< / a > , < / span >
2017-01-04 15:38:36 -05:00
< / dd >
< / dl >
< / ion-scroll >
< / div >
2017-01-24 16:43:58 -05:00
< br style = "clear: both" > <!-- because you load with a promise, the height of the box doesn't get set properly -->
2017-01-18 17:51:06 -05:00
< / 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-22 10:25:12 -04:00
< button ion-button item-left icon-start clear small ( click ) = " close ( ) " >
2017-01-18 17:51:06 -05:00
< ion-icon name = "close-circle" > < / ion-icon >
< div > Close< / div >
2018-04-19 11:05:23 -04:00
< / button >