mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-06-22 13:07:26 +00:00
fix: 会话管理翻译
This commit is contained in:
parent
8c118b6f47
commit
a1221a39fd
@ -42,13 +42,10 @@ class SessionSerializer(BulkOrgResourceModelSerializer):
|
||||
|
||||
|
||||
class SessionDisplaySerializer(SessionSerializer):
|
||||
command_amount = serializers.IntegerField(read_only=True)
|
||||
command_amount = serializers.IntegerField(read_only=True, label=_('Command amount'))
|
||||
|
||||
class Meta(SessionSerializer.Meta):
|
||||
fields = SessionSerializer.Meta.fields + ['command_amount']
|
||||
extra_kwargs = {
|
||||
'command_amount': {'label': _('Command amount')},
|
||||
}
|
||||
|
||||
|
||||
class ReplaySerializer(serializers.Serializer):
|
||||
|
Loading…
Reference in New Issue
Block a user