mirror of
https://github.com/bitwarden/web
synced 2025-12-11 13:53:17 +00:00
show reivison dates for item edit
This commit is contained in:
2
jslib
2
jslib
Submodule jslib updated: 2fcc3c51b8...0b29dc10bf
@@ -366,6 +366,19 @@
|
|||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</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>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button type="submit" class="btn btn-primary btn-submit" [disabled]="form.loading">
|
<button type="submit" class="btn btn-primary btn-submit" [disabled]="form.loading">
|
||||||
|
|||||||
@@ -33,6 +33,7 @@ export class AddEditComponent extends BaseAddEditComponent implements OnInit {
|
|||||||
totpDash: number;
|
totpDash: number;
|
||||||
totpSec: number;
|
totpSec: number;
|
||||||
totpLow: boolean;
|
totpLow: boolean;
|
||||||
|
passwordRevisionDate: Date;
|
||||||
|
|
||||||
protected totpInterval: number;
|
protected totpInterval: number;
|
||||||
|
|
||||||
@@ -48,6 +49,7 @@ export class AddEditComponent extends BaseAddEditComponent implements OnInit {
|
|||||||
|
|
||||||
async ngOnInit() {
|
async ngOnInit() {
|
||||||
await super.load();
|
await super.load();
|
||||||
|
this.passwordRevisionDate = this.cipher.passwordRevisionDisplayDate;
|
||||||
this.cleanUp();
|
this.cleanUp();
|
||||||
|
|
||||||
this.isPremium = this.tokenService.getPremium();
|
this.isPremium = this.tokenService.getPremium();
|
||||||
|
|||||||
@@ -2377,5 +2377,13 @@
|
|||||||
},
|
},
|
||||||
"onRefresh": {
|
"onRefresh": {
|
||||||
"message": "On Browser Refresh"
|
"message": "On Browser Refresh"
|
||||||
|
},
|
||||||
|
"dateUpdated": {
|
||||||
|
"message": "Updated",
|
||||||
|
"description": "ex. Date this item was updated"
|
||||||
|
},
|
||||||
|
"datePasswordUpdated": {
|
||||||
|
"message": "Password updated",
|
||||||
|
"description": "ex. Date this password was updated"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -376,6 +376,10 @@ label:not(.form-check-label):not(.btn) {
|
|||||||
text-decoration: line-through;
|
text-decoration: line-through;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.font-weight-semibold {
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
|
||||||
app-vault-groupings, app-org-vault-groupings {
|
app-vault-groupings, app-org-vault-groupings {
|
||||||
.card {
|
.card {
|
||||||
#search {
|
#search {
|
||||||
|
|||||||
Reference in New Issue
Block a user