962: Open some admin sidebar links in a new browser tab r=kaiyou a=mariooos

## What type of PR?

Enhancement

## What does this PR do?

Add target=_blank attribute to html <a href ...> tag in following admin sidebar links:
- Antispam
- Webmail
- Website
- Help


Co-authored-by: mariooos <48351788+mariooos@users.noreply.github.com>
master
bors[bot] 6 years ago
commit 2c90ac3334

@ -52,7 +52,7 @@
</a> </a>
</li> </li>
<li> <li>
<a href="{{ config["WEB_ADMIN"] }}/antispam/"> <a href="{{ config["WEB_ADMIN"] }}/antispam/" target="_blank">
<i class="fa fa-trash-o"></i> <span>{% trans %}Antispam{% endtrans %}</span> <i class="fa fa-trash-o"></i> <span>{% trans %}Antispam{% endtrans %}</span>
</a> </a>
</li> </li>
@ -69,7 +69,7 @@
<li class="header">{% trans %}Go to{% endtrans %}</li> <li class="header">{% trans %}Go to{% endtrans %}</li>
{% if config["WEBMAIL"] != "none" %} {% if config["WEBMAIL"] != "none" %}
<li> <li>
<a href="{{ config["WEB_WEBMAIL"] }}"> <a href="{{ config["WEB_WEBMAIL"] }}" target="_blank">
<i class="fa fa-envelope-o"></i> <span>{% trans %}Webmail{% endtrans %}</span> <i class="fa fa-envelope-o"></i> <span>{% trans %}Webmail{% endtrans %}</span>
</a> </a>
</li> </li>
@ -80,12 +80,12 @@
</a> </a>
</li> </li>
<li> <li>
<a href="{{ config["WEBSITE"] }}"> <a href="{{ config["WEBSITE"] }}" target="_blank">
<i class="fa fa-globe"></i> <span>{% trans %}Website{% endtrans %}</span> <i class="fa fa-globe"></i> <span>{% trans %}Website{% endtrans %}</span>
</a> </a>
</li> </li>
<li> <li>
<a href="https://mailu.io"> <a href="https://mailu.io" target="_blank">
<i class="fa fa-life-ring"></i> <span>{% trans %}Help{% endtrans %}</span> <i class="fa fa-life-ring"></i> <span>{% trans %}Help{% endtrans %}</span>
</a> </a>
</li> </li>

Loading…
Cancel
Save