nd sourcename)
    or (theme_source_repository and theme_source_branch)
  ) -%}
  {%- if can_find_view_link -%}
    {%- block link_available -%}
    <a href="{{ determine_page_view_link() }}">{{ _("View sources") }}</a>
    {%- endblock link_available -%}
  {%- else -%}
    {%- block link_not_available -%}{%- endblock -%}
  {%- endif -%}
{%- endif -%}
