fix: 修改工单列表默认按照创建日志倒叙排序,修改翻译

pull/7102/head
Michael Bai 3 years ago committed by Jiangjie.Bai
parent 6cf2bc4baf
commit 28a6024b49

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cc8a022ddc7438e50aa0cdb4ce24eec327638143731dbe0ed0ad783df06ecbaf
size 89882
oid sha256:bdad14124356449843ef2e77801fd1add5147862488baa2f24f5f14f1ad8f125
size 90869

@ -98,7 +98,7 @@ msgstr "用户"
#: acls/models/login_acl.py:29
msgid "Rule"
msgstr ""
msgstr "规则"
#: acls/models/login_acl.py:32 acls/models/login_asset_acl.py:26
#: acls/serializers/login_acl.py:16 acls/serializers/login_asset_acl.py:75
@ -240,7 +240,7 @@ msgstr ""
#: acls/serializers/rules/rules.py:34
msgid "Time Period"
msgstr ""
msgstr "时段"
#: applications/api/mixin.py:20 templates/_nav_user.html:10
msgid "My applications"
@ -927,7 +927,7 @@ msgstr "Ad 网域"
#: assets/serializers/system_user.py:60
msgid "Is asset protocol"
msgstr ""
msgstr "资产协议"
#: assets/serializers/system_user.py:100
msgid "Username same with user with protocol {} only allow 1"
@ -2427,7 +2427,7 @@ msgstr "监控告警"
#: ops/notifications.py:22
msgid "Terminal health check warning"
msgstr ""
msgstr "终端健康状况检查警告"
#: ops/notifications.py:63
#, python-brace-format
@ -4392,7 +4392,7 @@ msgstr "忽略证书认证"
#: terminal/serializers/terminal.py:44
msgid "Load status"
msgstr ""
msgstr "负载状态"
#: terminal/serializers/terminal.py:83 terminal/serializers/terminal.py:91
msgid "Not found"

@ -30,7 +30,7 @@ class TicketViewSet(CommonApiMixin, viewsets.ModelViewSet):
'title', 'action', 'type', 'status', 'applicant_display'
]
ordering_fields = ('title', 'applicant_display', 'status', 'state', 'action_display', 'date_created')
ordering = ('title', )
ordering = ('-date_created', )
def create(self, request, *args, **kwargs):
raise MethodNotAllowed(self.action)

Loading…
Cancel
Save