Fix some typos
This commit is contained in:
parent
d3e602b740
commit
39b2d9dbfe
|
@ -71,7 +71,7 @@
|
|||
<span *ngIf="negativePhrasesArray.length > 0" class="uk-text-small uk-margin-small-left">{{negativePhrasesArray.length}} phrase{{negativePhrasesArray.length===1?'':'s'}}</span>
|
||||
</div>
|
||||
<div class="uk-accordion-content">
|
||||
<p class="uk-text-small">Add negative phrases. If these phrases are found around the match, this is possibly a <b>false possitive</b>. You can use different <b>weights</b> to assign <b>importance</b>. Phrase can be a valid <b>Regular expression</b></p>
|
||||
<p class="uk-text-small">Add negative phrases. If these phrases are found around the match, this is possibly a <b>false positive</b>. You can use different <b>weights</b> to assign <b>importance</b>. Phrase can be a valid <b>Regular expression</b></p>
|
||||
<div class="word-container">
|
||||
<div class="cm-phrases-container">
|
||||
<header>
|
||||
|
|
|
@ -1,21 +1,21 @@
|
|||
<!--<div *ngIf="proccessStep>0" class="uk-flex-inline cm-nav-container">-->
|
||||
<!--<div *ngIf="processStep>0" class="uk-flex-inline cm-nav-container">-->
|
||||
<!--<div class="cm-left-box"><a (click)="cancelHandle()"><button id="cancel-main-btn" class="uk-close-large cm-close-btn" type="button" uk-close></button></a></div>-->
|
||||
<!--<div class="cm-navigation cm-nav-toolbar">-->
|
||||
<!--<ul class="uk-subnav uk-subnav-line">-->
|
||||
<!--<li class="cm-nav-li" [ngClass]="{'cm-nav-active':proccessStep===1, 'cm-nav-disabled':proccessStep<1}">-->
|
||||
<!--<a class="cm-nav-a" [routerLink]="proccessStep>1 ? ['/upload-content'] : []">-->
|
||||
<!--<li class="cm-nav-li" [ngClass]="{'cm-nav-active':processStep===1, 'cm-nav-disabled':processStep<1}">-->
|
||||
<!--<a class="cm-nav-a" [routerLink]="processStep>1 ? ['/upload-content'] : []">-->
|
||||
<!--<div class="cm-nav-number-container"><span class="cm-nav-number uk-text-middle">1</span></div>-->
|
||||
<!--<span class="cm-nav-title uk-text-middle">Matching context<br>definition</span>-->
|
||||
<!--</a>-->
|
||||
<!--</li>-->
|
||||
<!--<li class="cm-nav-li" [ngClass]="{'cm-nav-active':proccessStep===2, 'cm-nav-disabled':proccessStep<2}">-->
|
||||
<!--<a class="cm-nav-a" [routerLink]="proccessStep>2 ? ['/configure-profile'] : []">-->
|
||||
<!--<li class="cm-nav-li" [ngClass]="{'cm-nav-active':processStep===2, 'cm-nav-disabled':processStep<2}">-->
|
||||
<!--<a class="cm-nav-a" [routerLink]="processStep>2 ? ['/configure-profile'] : []">-->
|
||||
<!--<div class="cm-nav-number-container"><span class="cm-nav-number uk-text-middle">2</span></div>-->
|
||||
<!--<span class="cm-nav-title uk-text-middle">Matching proccess<br>configuration</span>-->
|
||||
<!--<span class="cm-nav-title uk-text-middle">Matching process<br>configuration</span>-->
|
||||
<!--</a>-->
|
||||
<!--</li>-->
|
||||
<!--<li class="cm-nav-li" [ngClass]="{'cm-nav-active':proccessStep===3, 'cm-nav-disabled':proccessStep<3}">-->
|
||||
<!--<a class="cm-nav-a" [routerLink]="proccessStep>3 ? ['/save-profile'] : []">-->
|
||||
<!--<li class="cm-nav-li" [ngClass]="{'cm-nav-active':processStep===3, 'cm-nav-disabled':processStep<3}">-->
|
||||
<!--<a class="cm-nav-a" [routerLink]="processStep>3 ? ['/save-profile'] : []">-->
|
||||
<!--<div class="cm-nav-number-container"><span class="cm-nav-number uk-text-middle">3</span></div>-->
|
||||
<!--<span class="cm-nav-title uk-text-middle">Save your<br>matching profile</span>-->
|
||||
<!--</a>-->
|
||||
|
@ -35,21 +35,21 @@
|
|||
of links to appear in your dashboard on the next run.
|
||||
</div>
|
||||
</div>
|
||||
<div *ngIf="proccessStep>0" class="uk-section uk-section-default" style="padding-bottom: 50px;">
|
||||
<div *ngIf="processStep>0" class="uk-section uk-section-default" style="padding-bottom: 50px;">
|
||||
<div class="uk-container uk-container-large">
|
||||
<div class="uk-grid-collapse uk-child-width-expand" uk-grid>
|
||||
<div class="cm-nav2 uk-width-expand">
|
||||
<a class="cm-nav2-home" (click)="cancelHandle(proccessStep)"><span class="uk-icon" uk-icon="icon: home"></span></a>
|
||||
<a class="cm-nav2-home" (click)="cancelHandle(processStep)"><span class="uk-icon" uk-icon="icon: home"></span></a>
|
||||
<a class="cm-nav2-step"
|
||||
[ngClass]="{'cm-nav2-step-active':proccessStep===1, 'cm-nav2-step-disabled':proccessStep<1}"
|
||||
[routerLink]="proccessStep>1 ? ['../upload-content'] : []" queryParamsHandling="preserve">Add concepts</a>
|
||||
[ngClass]="{'cm-nav2-step-active':processStep===1, 'cm-nav2-step-disabled':processStep<1}"
|
||||
[routerLink]="processStep>1 ? ['../upload-content'] : []" queryParamsHandling="preserve">Add concepts</a>
|
||||
<a class="cm-nav2-step"
|
||||
[ngClass]="{'cm-nav2-step-active':proccessStep===2, 'cm-nav2-step-disabled':proccessStep<2}"
|
||||
[routerLink]="proccessStep>2 ? ['../configure-profile'] : []" queryParamsHandling="preserve">Configure
|
||||
matching proccess</a>
|
||||
[ngClass]="{'cm-nav2-step-active':processStep===2, 'cm-nav2-step-disabled':processStep<2}"
|
||||
[routerLink]="processStep>2 ? ['../configure-profile'] : []" queryParamsHandling="preserve">Configure
|
||||
matching process</a>
|
||||
<a class="cm-nav2-step"
|
||||
[ngClass]="{'cm-nav2-step-active':proccessStep===3, 'cm-nav2-step-disabled':proccessStep<3}"
|
||||
[routerLink]="proccessStep>3 ? ['../save-profile'] : []" queryParamsHandling="preserve">Save matching
|
||||
[ngClass]="{'cm-nav2-step-active':processStep===3, 'cm-nav2-step-disabled':processStep<3}"
|
||||
[routerLink]="processStep>3 ? ['../save-profile'] : []" queryParamsHandling="preserve">Save matching
|
||||
profile</a>
|
||||
</div>
|
||||
<!--<a class="uk-width-auto uk-float-right uk-link-muted" (click)="cancelHandle()" style="line-height: 52px;">-->
|
||||
|
|
|
@ -9,7 +9,7 @@ import UIkit from 'uikit';
|
|||
})
|
||||
export class StepsnvabarComponent implements OnInit {
|
||||
|
||||
public proccessStep = 0;
|
||||
public processStep = 0;
|
||||
|
||||
constructor(private route: ActivatedRoute, private router: Router) {
|
||||
router.events.subscribe((val) => {
|
||||
|
@ -23,18 +23,18 @@ export class StepsnvabarComponent implements OnInit {
|
|||
|
||||
changeStep(url: string): void {
|
||||
if (url.indexOf('mining/upload-content') >= 0) {
|
||||
this.proccessStep = 1;
|
||||
this.processStep = 1;
|
||||
} else if (url.indexOf('mining/configure-profile') >= 0) {
|
||||
this.proccessStep = 2;
|
||||
this.processStep = 2;
|
||||
} else if (url.indexOf('mining/save-profile') >= 0) {
|
||||
this.proccessStep = 3;
|
||||
this.processStep = 3;
|
||||
} else {
|
||||
this.proccessStep = 0;
|
||||
this.processStep = 0;
|
||||
}
|
||||
}
|
||||
|
||||
cancelHandle(proccessStep: number): void {
|
||||
if (proccessStep === 3) {
|
||||
cancelHandle(processStep: number): void {
|
||||
if (processStep === 3) {
|
||||
UIkit.modal.confirm('<span class="uk-text-bold">' +
|
||||
'Your changes have not been saved to your Profile!<br>Are you sure you want to leave?</span>', {escClose: true}).then(() => {
|
||||
this.router.navigate(['../manage-profiles'], {relativeTo: this.route, queryParamsHandling: 'preserve'});
|
||||
|
|
Loading…
Reference in New Issue