{# `nvm_url` lets a caller redirect NVM elsewhere (the room gate-view passes #} {# the table-hex URL so NVM returns to the hex, not out to /gameboard/). #} {# Defaults to the gameboard listing — room.html's own gear menu is unchanged.#} {% if not nvm_url %}{% url 'gameboard' as nvm_url %}{% endif %} {# `scroll_filter` (passed only from room.html's table phase, where the scroll #} {# pane exists) adds a 2nd gear pane: room-scroll.js swaps the visible pane by #} {# scroll position — the hex view keeps the default NVM/DEL/BYE; scrolling to #} {# the Scroll swaps in the Frame/Redact log filter (mirrors the Billscroll #} {# gear). `.room-menu-default` is `display:contents` so wrapping the existing #} {# controls doesn't change their layout. #} {% include "apps/applets/_partials/_gear.html" with menu_id="id_room_menu" %}