v0.6.3: убрал (имперсонация) у email, жёлтый баннер сверху
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ipwhitelist",
|
||||
"version": "0.6.2",
|
||||
"version": "0.6.3",
|
||||
"description": "IP WhiteList microservice for cloud provider",
|
||||
"main": "server.js",
|
||||
"scripts": {
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
// ═══════════════════════════════════════════════════════════════════════════════
|
||||
|
||||
module.exports = {
|
||||
version: '0.6.2',
|
||||
version: '0.6.3',
|
||||
|
||||
// ── IAM ──────────────────────────────────────────────────────────────────
|
||||
iamUrl: process.env.V2_IAM_URL || 'https://auth-api.ngcloud.ru/api/v1/auth/user',
|
||||
|
||||
+3
-2
@@ -78,10 +78,12 @@
|
||||
|
||||
<!-- Имперсонация -->
|
||||
<% if (typeof isImpersonated !== 'undefined' && isImpersonated) { %>
|
||||
<% if (isImpersonated) { %>
|
||||
<div class="alert alert-warn">
|
||||
⚠️ Режим имперсонации — данные от имени <strong><%= activeClientId %></strong>
|
||||
⚠️ Режим имперсонации — данные сохраняются от имени <strong><%= activeClientId %></strong>
|
||||
(вы: <%= loginEmail %>)
|
||||
</div>
|
||||
<% } %>
|
||||
<% } %>
|
||||
|
||||
<!-- Сообщения -->
|
||||
@@ -100,7 +102,6 @@
|
||||
<div class="stat <%= used >= limit ? 'full' : '' %>"><div class="num"><%= used %></div><div class="lbl">из <%= limit %></div></div>
|
||||
<div style="margin-left:auto;display:flex;align-items:center;font-weight:600;font-size:1.1rem;color:var(--text);">
|
||||
<%= email %>
|
||||
<% if (isImpersonated) { %><span style="font-size:.75rem;color:var(--amber);margin-left:.5rem;">(имперсонация)</span><% } %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user