Unverified Commit 490c5223 authored by David Bauer's avatar David Bauer Committed by GitHub
Browse files

Merge pull request #2200 from AiyionPrime/status_page_role

gluon-status-page: add role to status-page
parents 0ce961eb e6bdbe81
......@@ -4,6 +4,7 @@
local util = require 'gluon.util'
local translations = {}
local site_i18n = i18n 'gluon-site'
local function _(v)
translations[v] = translate(v)
......@@ -126,6 +127,9 @@
<%- end %>
</dd>
<%- end %>
<% if nodeinfo.system.role then -%>
<dt><%:Role%></dt><dd><%| site_i18n._translate('gluon-web-node-role:role:' .. nodeinfo.system.role) %></dd>
<%- end %>
<% if nodeinfo.software.autoupdater then -%>
<dt><%:Automatic updates%></dt><dd><%| enabled(nodeinfo.software.autoupdater.enabled) %><%|
nodeinfo.software.autoupdater.enabled and
......
......@@ -103,6 +103,9 @@ msgstr "RAM"
msgid "Received"
msgstr "Empfangen"
msgid "Role"
msgstr "Rolle"
msgid "Site"
msgstr "Site"
......
......@@ -94,6 +94,9 @@ msgstr ""
msgid "Received"
msgstr ""
msgid "Role"
msgstr ""
msgid "Site"
msgstr ""
......
......@@ -19,6 +19,7 @@ if we ever add Russion to gluon-web, the following strings can be reused:
"Clients": "Клиенты",
"Transmitted": "Передано",
"Received": "Получено",
"Role": "Роль",
"Forwarded": "Переправленно",
"Day": "День",
"Days": "Дней",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment