  {%- if view_object.project_config.is_activated_requirements_to_source_traceability() -%}
    {%- set requirement_file_links = view_object.traceability_index.get_requirement_file_links(requirement) %}
    {%- if requirement_file_links %}
      <sdoc-requirement-field-label>files:</sdoc-requirement-field-label>
      <sdoc-requirement-field data-field-label="files">
        <ul class="requirement__link">
          {%- for link, opt_ranges in requirement_file_links %}
            {%- if opt_ranges -%}
              {%- for range in opt_ranges %}
                <li>
                  <a data-turbo="false" class="requirement__link-file" href="{{ view_object.link_renderer.render_source_file_link(requirement, link) }}#{{ requirement.reserved_uid }}#{{ range.ng_range_line_begin }}#{{ range.ng_range_line_end }}">
                    {{ link.get_posix_path() }}, <i>lines: {{ range.ng_range_line_begin }}-{{ range.ng_range_line_end }}</i>
                    {# TODO optional relation role #}
                  </a>
                </li>
              {%- endfor -%}
            {%- else -%}
              <li>
                <a data-turbo="false" class="requirement__link-file" href="{{ view_object.link_renderer.render_source_file_link(requirement, link) }}#{{ requirement.reserved_uid }}">
                  {{ link.get_posix_path() }}
                  {# TODO optional relation role #}
                </a>
              </li>
            {%- endif -%}
          {%- endfor -%}
        </ul>
      </sdoc-requirement-field>
    {%- endif %}
  {%- endif %}
