{% 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. The rail opens on Viewing as: which search agent the feed is seen as. An agent is a persona (a candidate, a hiring manager watching the market) with its own scores, votes and hidden companies, so the order, the stance on each row and every vote cast belong to the agent picked here. Order is its own section below, the same two choices whichever agent is picked. `/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. #}
{# The company filtered to, when there is exactly one: its name, its roles, its careers page and its star (`renderStrip`). #}
{%- if role %}

Loading…

{% endif -%}
{% endblock %} {% block scripts %} {# base.html has no block in its head; a stylesheet linked from the body applies all the same, and chips.css only adds to app.css. #} {% endblock %}