mirror of
https://gitlab.com/walljm/dynamicbible.git
synced 2025-07-27 01:19:52 -04:00
MAID: minor fixes, added a space after word Error for error text on cards
This commit is contained in:
parent
c3ddd41b48
commit
0bd82de4ac
@ -1,5 +1,5 @@
|
||||
<ion-item class="title passage-title" (swipe)="close()">
|
||||
<ion-icon name="book" item-left></ion-icon> <span *ngIf="data !== undefined"><span *ngIf="data.status === -1">Error:</span>{{data.ref}}</span>
|
||||
<ion-icon name="book" item-left></ion-icon> <span *ngIf="data !== undefined"><span *ngIf="data.status === -1">Error:</span> {{data.ref}}</span>
|
||||
<button ion-button icon-only item-end large clear (click)="close()">
|
||||
<ion-icon name="close-circle"></ion-icon>
|
||||
</button>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<ion-header>
|
||||
<ion-toolbar>
|
||||
<ion-title>
|
||||
<ion-icon name="paper" item-left></ion-icon> <span *ngIf="item !== undefined"><span *ngIf="item.status === -1">Error:</span>Strongs: {{item.prefix}}{{item.sn}}</span>
|
||||
<ion-icon name="paper" item-left></ion-icon> <span *ngIf="item !== undefined"><span *ngIf="item.status === -1">Error:</span> Strongs: {{item.prefix}}{{item.sn}}</span>
|
||||
</ion-title>
|
||||
<ion-buttons start>
|
||||
<button ion-button (click)="dismiss()" large>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<ion-item class="title strongs-title" padding (swipe)="close()">
|
||||
<ion-icon name="paper" item-left></ion-icon> <span *ngIf="data !== undefined"><span *ngIf="data.status === -1">Error:</span>{{data.prefix}}{{data.sn}}</span>
|
||||
<ion-icon name="paper" item-left></ion-icon> <span *ngIf="data !== undefined"><span *ngIf="data.status === -1">Error:</span> {{data.prefix}}{{data.sn}}</span>
|
||||
<button ion-button icon-only item-end large clear (click)="close()">
|
||||
<ion-icon name="close-circle"></ion-icon>
|
||||
</button>
|
||||
|
@ -1,5 +1,5 @@
|
||||
/// <reference path="../../typings/globals/jquery/index.d.ts" />
|
||||
import {stemmer } from '../libs/Stemmer';
|
||||
import { stemmer } from '../libs/Stemmer';
|
||||
import { Injectable } from '@angular/core';
|
||||
import { Http } from '@angular/http';
|
||||
|
||||
@ -62,10 +62,12 @@ export class WordService
|
||||
return { word: qry, refs: [], status: -1, msg: 'No passages found for query: ' + qry + '.' };
|
||||
|
||||
let shared: string[];
|
||||
if (results.length === 1) {
|
||||
if (results.length === 1)
|
||||
{
|
||||
shared = results[0];
|
||||
}
|
||||
else {
|
||||
else
|
||||
{
|
||||
shared = this.findSharedSet(results);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user