fix(page-templates): show a template marker icon in the page tree (#38)
Template pages were toggleable but indistinguishable in the sidebar tree. Render an IconTemplate next to the title when node.isTemplate is true, wrapped in a Tooltip(label='Template') with an aria-label + role='img' for AT. The icon is a child of the row Link so clicks navigate as normal; pointer events stay enabled so the tooltip's hover handlers fire. Adds the 'Template' i18n key to en-US and ru-RU (other locales fall back to en-US). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -183,6 +183,7 @@
|
||||
"Successfully imported": "Successfully imported",
|
||||
"Successfully restored": "Successfully restored",
|
||||
"System settings": "System settings",
|
||||
"Template": "Template",
|
||||
"Templates": "Templates",
|
||||
"Theme": "Theme",
|
||||
"To change your email, you have to enter your password and new email.": "To change your email, you have to enter your password and new email.",
|
||||
|
||||
Reference in New Issue
Block a user