1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 08:43:33 +00:00

control when password history shows

This commit is contained in:
Kyle Spearrin
2018-07-30 22:02:01 -04:00
parent bc768b773b
commit 8b8bd88adf
3 changed files with 9 additions and 8 deletions

View File

@@ -367,17 +367,16 @@
</div>
</div>
<ng-container *ngIf="editMode">
<h3 class="mt-4">{{'other' | i18n}}</h3>
<div class="small text-muted">
<div class="small text-muted mt-4">
<div>
<b class="font-weight-semibold">{{'dateUpdated' | i18n}}:</b>
{{cipher.revisionDate | date:'medium'}}
</div>
<div *ngIf="passwordRevisionDate">
<div *ngIf="showRevisionDate">
<b class="font-weight-semibold">{{'datePasswordUpdated' | i18n}}:</b>
{{passwordRevisionDate | date:'medium'}}
{{cipher.passwordRevisionDisplayDate | date:'medium'}}
</div>
<div *ngIf="cipher.hasPasswordHistory">
<div *ngIf="hasPasswordHistory">
<b class="font-weight-semibold">{{'passwordHistory' | i18n}}:</b>
<a href="#" appStopClick (click)="viewHistory()" title="{{'view' | i18n}}">
{{cipher.passwordHistory.length}}