1
0
mirror of https://github.com/bitwarden/web synced 2025-12-10 13:23:15 +00:00

show reivison dates for item edit

This commit is contained in:
Kyle Spearrin
2018-07-27 23:38:12 -04:00
parent 7c9016bf4a
commit 94f671ca6b
5 changed files with 28 additions and 1 deletions

View File

@@ -366,6 +366,19 @@
</select>
</div>
</div>
<ng-container *ngIf="editMode">
<h3 class="mt-4">{{'other' | i18n}}</h3>
<div class="small text-muted">
<div>
<b class="font-weight-semibold">{{'dateUpdated' | i18n}}:</b>
{{cipher.revisionDate | date:'medium'}}
</div>
<div *ngIf="passwordRevisionDate">
<b class="font-weight-semibold">{{'datePasswordUpdated' | i18n}}:</b>
{{passwordRevisionDate | date:'medium'}}
</div>
</div>
</ng-container>
</div>
<div class="modal-footer">
<button type="submit" class="btn btn-primary btn-submit" [disabled]="form.loading">