fixes for pathed URL

This commit is contained in:
Kyle Spearrin 2018-07-18 12:19:16 -04:00
parent 197d1c673c
commit f546d682bd
3 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@
</div> </div>
<div class="list-group list-group-flush"> <div class="list-group list-group-flush">
<a href="#" appStopClick *ngFor="let p of providers" (click)="choose(p)" class="list-group-item list-group-item-action"> <a href="#" appStopClick *ngFor="let p of providers" (click)="choose(p)" class="list-group-item list-group-item-action">
<img [src]="'../images/two-factor/' + p.type + '.png'" alt="" class="pull-right"> <img [src]="'images/two-factor/' + p.type + '.png'" alt="" class="pull-right">
<h3>{{p.name}}</h3> <h3>{{p.name}}</h3>
{{p.description}} {{p.description}}
</a> </a>

View File

@ -10,7 +10,7 @@
<form #form class="card" (ngSubmit)="submit()" [appApiAction]="formPromise" ngNativeValidate *ngIf="canChange"> <form #form class="card" (ngSubmit)="submit()" [appApiAction]="formPromise" ngNativeValidate *ngIf="canChange">
<div class="card-body"> <div class="card-body">
<h3 class="card-body-header">{{(currentType != null ? 'changePaymentMethod' : 'addPaymentMethod') | i18n}}</h3> <h3 class="card-body-header">{{(currentType != null ? 'changePaymentMethod' : 'addPaymentMethod') | i18n}}</h3>
<app-payment [showOptions]="organizationId || currentType == null" [hidePaypal]="true" [hideBank]="!organizationId"></app-payment> <app-payment [showOptions]="organizationId" [hidePaypal]="true" [hideBank]="!organizationId"></app-payment>
<button type="submit" class="btn btn-primary btn-submit" [disabled]="form.loading"> <button type="submit" class="btn btn-primary btn-submit" [disabled]="form.loading">
<i class="fa fa-spinner fa-spin" title="{{'loading' | i18n}}"></i> <i class="fa fa-spinner fa-spin" title="{{'loading' | i18n}}"></i>
<span>{{'submit' | i18n}}</span> <span>{{'submit' | i18n}}</span>

View File

@ -14,7 +14,7 @@
<ul class="list-group list-group-2fa"> <ul class="list-group list-group-2fa">
<li *ngFor="let p of providers" class="list-group-item d-flex align-items-center"> <li *ngFor="let p of providers" class="list-group-item d-flex align-items-center">
<div class="logo-2fa d-flex justify-content-center"> <div class="logo-2fa d-flex justify-content-center">
<img [src]="'../images/two-factor/' + p.type + '.png'" alt=""> <img [src]="'images/two-factor/' + p.type + '.png'" alt="">
</div> </div>
<div class="mx-4"> <div class="mx-4">
<h3 class="mb-0"> <h3 class="mb-0">