feat(footer): help popover shows license state + Activate link
- Bump version to 3.0 (src/__init__.py). - Switch support address to support@unalogix.com. - Help popover now includes a License section that reads ``src.license.current_state()``: * When activated + valid: name + expiry date + days remaining. * Otherwise: "Not activated" + an ``Activate now →`` link pointing at ``./activate``. License-state queries are wrapped so a corrupted license file can't take the footer down — it falls through to the inactive branch. - Popover HTML is now built in Python (so the license branch lives in one place) and passed to the JS as a single string. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -178,6 +178,11 @@
|
||||
"help_title": "DataTools",
|
||||
"help_version": "Versión {version}",
|
||||
"help_support": "Soporte: {email}",
|
||||
"help_license_label": "Licencia",
|
||||
"help_license_inactive": "No activada",
|
||||
"help_license_active": "{name}",
|
||||
"help_license_expires": "Caduca {date} ({days} días)",
|
||||
"help_activate_link": "Activar ahora →",
|
||||
"help_dismiss": "Cerrar"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user