{% extends "base.html" %} {% block title %}{% if role %}{{ role.title or "Role" }}{% else %}Roles{% endif %} — roledesk{% endblock %} {# newsdesk's feed and reader (news/newsdesk/web/templates/index.html), as three panes: the rail of filters, the feed of roles, and the reader, which opens as a third column beside the feed and replaces it below 60rem. `static/roles.js` fills all three and drives every action. The server renders only the select options, from `app.models` and `plugins.ats.FUNCTIONS`, so they cannot drift from what the store accepts. `/roles/{uid}` renders this same page with `role` set: the reader starts open, so a phone lands on the role rather than on the list for as long as the script takes. No `data-rail` on `` until the script sets one: the stylesheet shows the rail beside the feed and keeps the overlay shut, which is right at either width before anything has been chosen. #} {% block body_attrs %}{% if role %} data-reader="open"{% endif %}{% endblock %} {% block header_tools %} {# The rail's only opener, labelled with the number of filters on when there are any, since with the rail shut nothing else says the list is narrowed. #} {% endblock %} {% block page %} {# Only ever visible under the rail overlay, which only exists narrow. Tapping it is how the rail is put away. #}
{%- if role %}

Loading…

{% endif -%}
{% endblock %} {% block scripts %} {% endblock %}