Show community name in admin panel title.
This commit is contained in:
parent
af2362c768
commit
28a1db7c83
|
@ -1,5 +1,5 @@
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en">
|
<html lang="en" ng-app="ffffngAdmin">
|
||||||
<head>
|
<head>
|
||||||
<title>Knotenverwaltung - Admin-Panel</title>
|
<title>Knotenverwaltung - Admin-Panel</title>
|
||||||
<link rel="stylesheet" href="css/ng-admin.min.css">
|
<link rel="stylesheet" href="css/ng-admin.min.css">
|
||||||
|
@ -64,7 +64,7 @@
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body ng-app="ffffngAdmin">
|
<body>
|
||||||
<div ui-view></div>
|
<div ui-view></div>
|
||||||
|
|
||||||
<script src="js/moment-with-locales.min.js"></script>
|
<script src="js/moment-with-locales.min.js"></script>
|
||||||
|
|
|
@ -35,13 +35,17 @@ angular.module('ffffngAdmin').config(function(NgAdminConfigurationProvider, Rest
|
||||||
}
|
}
|
||||||
|
|
||||||
var nga = NgAdminConfigurationProvider;
|
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
|
admin
|
||||||
.header(
|
.header(
|
||||||
'<div class="navbar-header">' +
|
'<div class="navbar-header">' +
|
||||||
'<a class="navbar-brand" href="#" ng-click="appController.displayHome()">' +
|
'<a class="navbar-brand" href="#" ng-click="appController.displayHome()">' +
|
||||||
'Knotenverwaltung - Admin-Panel <small style="font-size: 0.7em;">(<fa-version></fa-version>)</small>' +
|
title + ' ' +
|
||||||
|
'<small style="font-size: 0.7em;">(<fa-version></fa-version>)</small>' +
|
||||||
'</a>' +
|
'</a>' +
|
||||||
'</div>' +
|
'</div>' +
|
||||||
'<p class="navbar-text navbar-right">' +
|
'<p class="navbar-text navbar-right">' +
|
||||||
|
|
Loading…
Reference in a new issue