Browse Source

perf: 修改格式错误

pull/7049/head
ibuler 3 years ago committed by 老广
parent
commit
a1f1dce56b
  1. 6
      apps/terminal/templates/terminal/_msg_command_execute_alert.html
  2. 2
      apps/tickets/notifications.py

6
apps/terminal/templates/terminal/_msg_command_execute_alert.html

@ -8,9 +8,9 @@
</p> </p>
<div> <div>
<b>{% trans 'Command' %}: </b><br> <b>{% trans 'Command' %}: </b><br>
<pre> <pre>
{{ command }} {{ command }}
</pre> </pre>
</div> </div>
<div> <div>
<b>{% trans 'Assets' %}:</b><br> <b>{% trans 'Assets' %}:</b><br>

2
apps/tickets/notifications.py

@ -39,7 +39,7 @@ class BaseTicketMessage(UserMessage):
@classmethod @classmethod
def gen_test_msg(cls): def gen_test_msg(cls):
return cls(None) return None
class TicketAppliedToAssignee(BaseTicketMessage): class TicketAppliedToAssignee(BaseTicketMessage):

Loading…
Cancel
Save