1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-06 00:13:28 +00:00

[PM-21868] Send limit reached icon + message now show (#14860)

* Send limit reached icon + message now show

* Fix en/messages.json

---------

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
This commit is contained in:
Kevinw778
2025-05-31 05:18:28 -04:00
committed by GitHub
parent 721657a5c3
commit f55f315ca1
2 changed files with 14 additions and 0 deletions

View File

@@ -2677,6 +2677,10 @@
"message": "All Sends", "message": "All Sends",
"description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated."
}, },
"maxAccessCountReached": {
"message": "Max access count reached",
"description": "This text will be displayed after a Send has been accessed the maximum amount of times."
},
"hideTextByDefault": { "hideTextByDefault": {
"message": "Hide text by default" "message": "Hide text by default"
}, },

View File

@@ -26,6 +26,16 @@
></i> ></i>
</div> </div>
{{ send.name }} {{ send.name }}
<ng-container *ngIf="send.maxAccessCountReached">
<i
class="bwi bwi-exclamation-triangle"
appStopProp
title="{{ 'maxAccessCountReached' | i18n }}"
aria-hidden="true"
></i>
<span class="tw-sr-only">{{ "maxAccessCountReached" | i18n }}</span>
</ng-container>
<span slot="secondary"> <span slot="secondary">
{{ "deletionDate" | i18n }}:&nbsp;{{ send.deletionDate | date: "mediumDate" }} {{ "deletionDate" | i18n }}:&nbsp;{{ send.deletionDate | date: "mediumDate" }}
</span> </span>