{% load i18n %}{% comment %} The station's context bar (#227, components/context_bar.html; the workspace header of #179 and #197 before it): the station's name, its provenance line (coordinates, years, base period, settings and version, stations.workspace.provenance), the page's actions, then the section tabs, and under them the Inputs bar where the page is too narrow for the Inputs panel beside the section (#203). It stays in view as the page scrolls, so it must be a direct child of the page's .station-page. On the three section pages the name is the page's h1 (``heading``); on a page inside a section (an index, the sector comparison) it is a line above that page's own h1. The title is the station name the user gave, the file name when there is none yet. Context: analysis, workspace_tabs, workspace_current and provenance (stations.workspace.context), heading, actions (optional: a template with the page's actions, such as Download all), inputs and inputs_bar (stations.workspace.inputs_panel; the bar shows where the page has the Inputs panel), no_inputs_bar (a page without the panel, such as an input's own page); edit_inputs (the Indices, #263, and Quality, #264: "Edit inputs" at the end of the provenance line, which takes the Inputs bar's place where the page is wide enough). From workspace.context too: the breadcrumb to the workspace and the previous and next station (#234), or, in a workspace of one station, "Add stations" at the end of the provenance line (stations/_station_links.html). {% endcomment %}{% translate "Station sections" as tabs_label %} {% if inputs and not no_inputs_bar %}{% include "components/context_bar.html" with title=analysis.station_name|default:analysis.file_name tabs=workspace_tabs below="stations/_inputs_bar.html" provenance_end="stations/_station_links.html" %} {% else %}{% include "components/context_bar.html" with title=analysis.station_name|default:analysis.file_name tabs=workspace_tabs below="" provenance_end="stations/_station_links.html" %}{% endif %}