File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,6 +21,12 @@ export function getDocsUrl(pagePath: string): string {
2121 if ( pagePath . startsWith ( '/settings' ) ) {
2222 return `${ DOCUMENTATION } /${ normalizedLocale } /panel/settings`
2323 }
24+ if ( pagePath === '/templates/client' ) {
25+ return `${ DOCUMENTATION } /${ normalizedLocale } /panel/client_template`
26+ }
27+ if ( pagePath === '/templates/user' ) {
28+ return `${ DOCUMENTATION } /${ normalizedLocale } /panel/user_template`
29+ }
2430 // Map route paths to documentation paths
2531 const pathMap : Record < string , string > = {
2632 '/' : 'dashboard' ,
@@ -30,7 +36,7 @@ export function getDocsUrl(pagePath: string): string {
3036 '/groups' : 'groups' ,
3137 '/templates' : 'user_template' ,
3238 '/admins' : 'admins' ,
33- '/admin-roles' : 'admins ' ,
39+ '/admin-roles' : 'admin_roles ' ,
3440 '/bulk' : 'bulk' ,
3541 '/nodes/cores' : 'core' ,
3642 }
You can’t perform that action at this time.
0 commit comments