mirror of
https://github.com/eduardogsilva/wireguard_webadmin.git
synced 2025-08-27 05:41:15 +00:00
Translation for Wireguard status page and reload/restart/export messages
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
if (parts.length > 1) {
|
||||
$(document).Toasts('create', {
|
||||
{% if message.tags %}
|
||||
class: 'bg-{{ message.tags }}',
|
||||
class: '{% if message.tags == 'error' %}bg-danger{% else %}bg-{{ message.tags }}{% endif %}',
|
||||
{% endif %}
|
||||
title: parts[0],
|
||||
subtitle: '{{ message.tags }}',
|
||||
@@ -17,7 +17,7 @@
|
||||
} else {
|
||||
$(document).Toasts('create', {
|
||||
{% if message.tags %}
|
||||
class: 'bg-{{ message.tags }}',
|
||||
class: '{% if message.tags == 'error' %}bg-danger{% else %}bg-{{ message.tags }}{% endif %}',
|
||||
{% endif %}
|
||||
subtitle: '{{ message.tags }}',
|
||||
body: parts[0],
|
||||
|
Reference in New Issue
Block a user