mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
Update page titles to include product name in settings and global search
This commit is contained in:
parent
20f91ef893
commit
ecb6ff57fc
2 changed files with 4 additions and 3 deletions
|
|
@ -225,8 +225,9 @@ FlowRouter.route('/global-search', {
|
|||
|
||||
Utils.manageCustomUI();
|
||||
Utils.manageMatomo();
|
||||
DocHead.setTitle(TAPi18n.__('globalSearch-title'));
|
||||
|
||||
const currentSetting = ReactiveCache.getCurrentSetting && ReactiveCache.getCurrentSetting();
|
||||
const productName = currentSetting && currentSetting.productName ? currentSetting.productName : 'Wekan';
|
||||
DocHead.setTitle(`${TAPi18n.__('globalSearch-title')} - ${productName}`);
|
||||
if (FlowRouter.getQueryParam('q')) {
|
||||
Session.set(
|
||||
'globalQuery',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue