{% extends "base.html" %} {# Resolve the active project key injected by plugin.py. Falls back to empty string if the key was never set (e.g. local dev without a site_url or a labs_project config entry). #} {% set _active = config.extra.get("_labs_active_project", "") if config.extra else "" %} {# ------------------------------------------------------------------ #} {# Announce banner — project-aware #} {# ------------------------------------------------------------------ #} {% block announce %} {% if _active == "app-connect" %} App Connect 2.0 BETA is here with more features and support for more CRMs! Try it out {% elif _active == "design-system" %} The RingCentral Design System is now in public beta — share feedback on GitHub Discussions {% endif %} {% endblock %} {# ------------------------------------------------------------------ #} {# Footer #} {# ------------------------------------------------------------------ #} {% block footer %} {# Labs project registry. Each entry: key — matches what plugin.py injects as _labs_active_project name — display name in the footer card desc — one-line description href — canonical public URL (used when this is NOT the active site) badge — optional badge text ("New") or none/empty for no badge #} {% set _projects = [ { "key": "app-connect", "name": "App Connect", "desc": "CRM integration for RingEX", "href": "https://appconnect.labs.ringcentral.com/", "badge": "" }, { "key": "rc-embeddable", "name": "RC Embeddable", "desc": "Embed RingEX in any web app", "href": "https://github.com/ringcentral/ringcentral-embeddable", "badge": "" }, { "key": "call-me", "name": "Call Me", "desc": "One-click calling from any page", "href": "https://github.com/ringcentral/call-me", "badge": "New" }, { "key": "ringcentral-mcp", "name": "RingCentral MCP", "desc": "AI tool integration for RingEX", "href": "https://github.com/ringcentral/ringcentral-mcp", "badge": "New" } ] %} {% endblock %}