Home | History | Annotate | Download | only in templates
      1 {%- if show_source and has_source and sourcename %}
      2   <div role="note" aria-label="source link">
      3     <h3>{{ _('This Page') }}</h3>
      4     <ul class="this-page-menu">
      5       <li><a href="{{ pathto('bugs') }}">{% trans %}Report a Bug{% endtrans %}</a></li>
      6       <li>
      7         <a href="https://github.com/python/cpython/blob/{{ version }}/Doc/{{ sourcename|replace('.rst.txt', '.rst') }}"
      8             rel="nofollow">{{ _('Show Source') }}
      9         </a>
     10       </li>
     11     </ul>
     12   </div>
     13 {%- endif %}
     14