From 28a1db7c83076c81c2854036f325e825fbd5080b Mon Sep 17 00:00:00 2001 From: baldo Date: Fri, 29 Jul 2016 13:27:34 +0200 Subject: [PATCH] Show community name in admin panel title. --- admin/index.html | 4 ++-- admin/js/main.js | 8 ++++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/admin/index.html b/admin/index.html index cf20b2b..8b6a187 100644 --- a/admin/index.html +++ b/admin/index.html @@ -1,5 +1,5 @@ - + Knotenverwaltung - Admin-Panel @@ -64,7 +64,7 @@ } - +
diff --git a/admin/js/main.js b/admin/js/main.js index 6975ce7..38b6647 100644 --- a/admin/js/main.js +++ b/admin/js/main.js @@ -35,13 +35,17 @@ angular.module('ffffngAdmin').config(function(NgAdminConfigurationProvider, Rest } var nga = NgAdminConfigurationProvider; - var admin = nga.application('Knotenverwaltung - Admin-Panel'); + + var title = 'Knotenverwaltung - ' + config.community.name + ' - Admin-Panel'; + var admin = nga.application(title); + document.title = title; admin .header( '' + '