perf: 优化通知中的连接点击

pull/7066/head
ibuler 2021-10-25 10:44:19 +08:00 committed by 老广
parent c244cf5f43
commit cd5094f10d
5 changed files with 7 additions and 5 deletions

View File

@ -6,7 +6,9 @@
{% trans 'Please click the link below to reset your password, if not your request, concern your account security' %}
<br>
<br>
<a href="{{ rest_password_url }}?token={{ rest_password_token}}" class='showLink'>{% trans 'Click here reset password' %}</a>
<a href="{{ rest_password_url }}?token={{ rest_password_token}}" class='showLink' target="_blank">
{% trans 'Click here reset password' %}
</a>
</p>
<p>

View File

@ -11,6 +11,6 @@
<ul>
{% for item, url in items_with_url %}
<li><a href="{{ url }}">{{ item }}</a></li>
<li><a href="{{ url }}" target="_blank">{{ item }}</a></li>
{% endfor %}
</ul>

View File

@ -7,7 +7,7 @@
</span>
<br />
{% endfor %}
<b>{% trans 'Session' %}:</b> <a href="{{ session_url }}">{% trans 'view' %}</a>
<b>{% trans 'Session' %}:</b> <a href="{{ session_url }}" target="_blank">{% trans 'view' %}</a>
<br />
<b>{% trans 'Command' %}: </b><br />
<pre>

View File

@ -17,7 +17,7 @@
<ul>
{% for asset, url in assets_with_url %}
<li>
<a href="{{ url }}">{{ asset }}</a>
<a href="{{ url }}" target="_blank">{{ asset }}</a>
</li>
{% endfor %}
</ul>

View File

@ -8,7 +8,7 @@
</div>
<br>
<div>
<a href={{ ticket_detail_url }}>
<a href="{{ ticket_detail_url }}" target="_blank">
{% trans 'Click here to review' %}
</a>
</div>