mirror of
https://github.com/wekan/wekan.git
synced 2025-12-21 01:40: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
|
|
@ -287,7 +287,7 @@ BlazeComponent.extendComponent({
|
||||||
this.setLoading(false);
|
this.setLoading(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
DocHead.setTitle(productName);
|
DocHead.setTitle(`Settings - ${productName}`);
|
||||||
},
|
},
|
||||||
|
|
||||||
sendSMTPTestEmail() {
|
sendSMTPTestEmail() {
|
||||||
|
|
|
||||||
|
|
@ -225,8 +225,9 @@ FlowRouter.route('/global-search', {
|
||||||
|
|
||||||
Utils.manageCustomUI();
|
Utils.manageCustomUI();
|
||||||
Utils.manageMatomo();
|
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')) {
|
if (FlowRouter.getQueryParam('q')) {
|
||||||
Session.set(
|
Session.set(
|
||||||
'globalQuery',
|
'globalQuery',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue