| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,8 +3,14 @@ | |||
| 3 | 3 | <h3>{{ _('This Page') }}</h3> | |
| 4 | 4 | <ul class="this-page-menu"> | |
| 5 | 5 | <li><a href="{{ pathto('bugs') }}">{% trans %}Report a Bug{% endtrans %}</a></li> | |
| 6 | - <li><a href="{{ pathto('_sources/' + sourcename, true)|e }}" | ||
| 7 | - rel="nofollow">{{ _('Show Source') }}</a></li> | ||
| 6 | + <li> | ||
| 7 | + {% if version == "3.7" %} | ||
| 8 | + {% set version = 'master' %} | ||
| 9 | + {% endif %} | ||
| 10 | + <a href="https://github.com/python/cpython/blob/{{ version }}/Doc/{{ sourcename|replace('txt', 'rst') }}" | ||
| 11 | + rel="nofollow">{{ _('Show Source') }} | ||
| 12 | + </a> | ||
| 13 | + </li> | ||
| 8 | 14 | </ul> | |
| 9 | 15 | </div> | |
| 10 | 16 | {%- endif %} | |
| Back | FazBrowse Home | New Git URL |
0 commit comments