feat: 支持批量发送文件

This commit is contained in:
wangruidong
2023-12-05 19:09:17 +08:00
committed by Bryan
parent e3ac26e377
commit d0b0c87d3c
11 changed files with 186 additions and 91 deletions

View File

@@ -41,7 +41,7 @@ class AssetPermsWillExpireForOrgAdminMsg(UserMessage):
super().__init__(user)
self.perms = perms
self.org = org
self.day_count = _('today') if day_count == 0 else day_count
self.day_count = _('today') if day_count == 0 else day_count + _('day')
def get_items_with_url(self):
items_with_url = []

View File

@@ -5,7 +5,7 @@
<p>
{% blocktranslate %}
The following {{ item_type }} will expire in {{ count }} days
The following {{ item_type }} will expire in {{ count }}
{% endblocktranslate %}
</p>