Merge pull request #2937 from pengpengshui/master

fix #2890 about time in vulnerablity
This commit is contained in:
Steven Zou 2017-08-02 09:49:27 +08:00 committed by GitHub
commit fd855b59d5

View File

@ -39,7 +39,7 @@ export const VULNERABILITY_CONFIG_HTML: string = `
</div>
<div class="form-group form-group-override">
<button class="btn btn-primary btn-sm" style="width:160px;" (click)="scanNow()" [disabled]="!scanAvailable">{{ 'CONFIG.SCANNING.SCAN_NOW' | translate }}</button>
<span style="margin-top: 12px;" *ngIf="!scanAvailable">{{ 'CONFIG.SCANNING.NEXT_SCAN' | translate }} {{ nextScanTimestamp | date:'HH:mm' }}</span>
<span style="margin-top: 12px;" *ngIf="!scanAvailable">{{ 'CONFIG.SCANNING.NEXT_SCAN' | translate }} {{ nextScanTimestamp | date:'y/MM/dd HH:mm' }}</span>
</div>
</section>
</form>