mirror of
https://gitlab.com/walljm/dynamicbible.git
synced 2025-07-27 01:19:52 -04:00
FIX: bug fixes
* fixed bug in strongs modal where item crossrefs is sometimes null (not all strongs numbers relate to a word used in the bible, some are just roots of words used in the bible) * fixed bug in links. forgot to update event reference to ui update function when i changed it.
This commit is contained in:
parent
6e48e85de2
commit
2293807bfe
@ -1,5 +1,24 @@
|
|||||||
<?xml version='1.0' encoding='utf-8'?>
|
<?xml version='1.0' encoding='utf-8'?>
|
||||||
<widget id="com.walljm.dynamicbible" version="3.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
|
<widget id="com.walljm.dynamicbible" version="3.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
|
||||||
|
<feature name="Keyboard">
|
||||||
|
<param name="android-package" value="io.ionic.keyboard.IonicKeyboard" />
|
||||||
|
<param name="onload" value="true" />
|
||||||
|
</feature>
|
||||||
|
<feature name="Whitelist">
|
||||||
|
<param name="android-package" value="org.apache.cordova.whitelist.WhitelistPlugin" />
|
||||||
|
<param name="onload" value="true" />
|
||||||
|
</feature>
|
||||||
|
<feature name="StatusBar">
|
||||||
|
<param name="android-package" value="org.apache.cordova.statusbar.StatusBar" />
|
||||||
|
<param name="onload" value="true" />
|
||||||
|
</feature>
|
||||||
|
<feature name="Device">
|
||||||
|
<param name="android-package" value="org.apache.cordova.device.Device" />
|
||||||
|
</feature>
|
||||||
|
<feature name="SplashScreen">
|
||||||
|
<param name="android-package" value="org.apache.cordova.splashscreen.SplashScreen" />
|
||||||
|
<param name="onload" value="true" />
|
||||||
|
</feature>
|
||||||
<name>Dynamic Bible</name>
|
<name>Dynamic Bible</name>
|
||||||
<description>A bible app designed for bible study</description>
|
<description>A bible app designed for bible study</description>
|
||||||
<author email="jason@walljm.com" href="http://dynamicbible.com/">Jason Wall</author>
|
<author email="jason@walljm.com" href="http://dynamicbible.com/">Jason Wall</author>
|
||||||
|
@ -28,13 +28,15 @@
|
|||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</template>
|
</template>
|
||||||
<h2>Cross References</h2>
|
<div class="strongs-cross" *ngIf="item.crossrefs != null && item.crossrefs.ss != null">
|
||||||
Translated as {{item.crossrefs.ss.length}} words
|
<h2>Cross References</h2>
|
||||||
<dl>
|
Translated as {{item.crossrefs.ss.length}} words
|
||||||
<dd *ngFor="let wrd of item.crossrefs.ss">
|
<dl>
|
||||||
<strong>{{wrd.w}}:</strong> <span *ngFor="let p of wrd.rs"><a (click)="openPassage(p.r)">{{makePassage(p.r)}}</a>, </span>
|
<dd *ngFor="let wrd of item.crossrefs.ss">
|
||||||
</dd>
|
<strong>{{wrd.w}}:</strong> <span *ngFor="let p of wrd.rs"><a (click)="openPassage(p.r)">{{makePassage(p.r)}}</a>, </span>
|
||||||
</dl>
|
</dd>
|
||||||
|
</dl>
|
||||||
|
</div>
|
||||||
</ion-content>
|
</ion-content>
|
||||||
<ion-content *ngIf="item !== undefined && item.status === -1">
|
<ion-content *ngIf="item !== undefined && item.status === -1">
|
||||||
<error-message [msg]="item.msg"></error-message>
|
<error-message [msg]="item.msg"></error-message>
|
||||||
|
@ -25,9 +25,11 @@ export class StrongsModal implements OnInit
|
|||||||
{
|
{
|
||||||
this.sn = this.params.get('sn') as number;
|
this.sn = this.params.get('sn') as number;
|
||||||
this.dict = this.params.get('dict') as string;
|
this.dict = this.params.get('dict') as string;
|
||||||
this.onItemClicked.subscribe(item =>
|
this.onItemClicked.subscribe(item =>
|
||||||
this.params.get('onItemClicked').getItems(item)
|
{
|
||||||
)
|
let pg = this.params.get('onItemClicked');
|
||||||
|
pg.updateUIwithItems(item, false)
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit(): void
|
ngOnInit(): void
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</template>
|
</template>
|
||||||
</div>
|
</div>
|
||||||
<div class="strongs-cross">
|
<div class="strongs-cross" *ngIf="data.crossrefs != null && data.crossrefs.ss != null">
|
||||||
<h2>Cross References</h2>
|
<h2>Cross References</h2>
|
||||||
Translated as {{data.crossrefs.ss.length}} words
|
Translated as {{data.crossrefs.ss.length}} words
|
||||||
<ion-scroll scrollY="true">
|
<ion-scroll scrollY="true">
|
||||||
|
@ -99,10 +99,13 @@ export class SearchPage implements OnInit
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// initialize the pages.
|
// initialize the pages.
|
||||||
this.pagesService.initializePages(u.user.saved_pages);
|
this.pagesService.initializePages(u.user.saved_pages);
|
||||||
|
|
||||||
if (this.params.data.queries !== undefined)
|
if (this.params.data.queries !== undefined)
|
||||||
this.userProfile.user.items = this.params.data.queries.slice();
|
this.userProfile.user.items = this.params.data.queries.slice();
|
||||||
|
|
||||||
if (this.params.data.title === undefined)
|
if (this.params.data.title === undefined)
|
||||||
this.title = "Search";
|
this.title = "Search";
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user