mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
client/general: add title to every page
This commit is contained in:
@ -11,6 +11,7 @@ const EmptyView = require('../views/empty_view.js');
|
||||
|
||||
class UserController {
|
||||
constructor(ctx, section) {
|
||||
topNavigation.setTitle('User ' + ctx.parameters.name);
|
||||
User.get(ctx.parameters.name).then(user => {
|
||||
const isLoggedIn = api.isLoggedIn(user);
|
||||
const infix = isLoggedIn ? 'self' : 'any';
|
||||
|
Reference in New Issue
Block a user