blob: 42172909cae4384ff57de338e16a336d26f6209b [file] [log] [blame]
Zachary Warea3090a42016-09-09 13:11:27 -07001{%- 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>
Mariattad4a97d82017-02-12 13:07:05 -08006 <li>
7 <a href="https://github.com/python/cpython/blob/master/Doc/{{ sourcename|replace('txt', 'rst') }}"
8 rel="nofollow">{{ _('Show Source') }}
9 </a>
10 </li>
Zachary Warea3090a42016-09-09 13:11:27 -070011 </ul>
12 </div>
13{%- endif %}