|
3 | 3 | <title>Python Docs Translation Dashboard</title> |
4 | 4 | <link rel="stylesheet" href="style.css"> |
5 | 5 | <meta charset="UTF-8"> |
| 6 | + <base target="_blank"> |
6 | 7 | </head> |
7 | 8 | <body> |
8 | 9 | <h1>Python Docs Translation Dashboard</h1> |
|
23 | 24 | <tr> |
24 | 25 | <td data-label="language">{{ project.language.name }} ({{ project.language.code }})</td> |
25 | 26 | <td data-label="contribute"> |
26 | | - {% if project.contribution_link %}<a href="{{ project.contribution_link }}" target="_blank">{% endif %} |
| 27 | + {% if project.contribution_link %}<a href="{{ project.contribution_link }}">{% endif %} |
27 | 28 | {% if project.uses_platform %}platform{% else %}repository{% endif %} |
28 | 29 | {% if project.contribution_link %}</a>{% endif %} |
29 | 30 | </td> |
30 | 31 | <td data-label="build"> |
31 | 32 | {% if project.built %} |
32 | | - <a href="https://docs.python.org/{{ project.language.code }}/" target="_blank">✓{% if project.in_switcher %} in switcher{% endif %}</a> |
| 33 | + <a href="https://docs.python.org/{{ project.language.code }}/">✓{% if project.in_switcher %} in switcher{% endif %}</a> |
33 | 34 | {% else %} |
34 | 35 | ✗ |
35 | 36 | {% endif %} |
36 | 37 | </td> |
37 | 38 | <td data-label="visitors"> |
38 | 39 | {% if project.built %} |
39 | | - <a href="https://plausible.io/docs.python.org?filters=((contains,page,(/{{ project.language.code }}/)))" target="_blank"> |
| 40 | + <a href="https://plausible.io/docs.python.org?filters=((contains,page,(/{{ project.language.code }}/)))"> |
40 | 41 | {{ '{:,}'.format(project.visitors) }} |
41 | 42 | </a> |
42 | 43 | {% else %} |
43 | 44 | {{ '{:,}'.format(project.visitors) }} |
44 | 45 | {% endif %} |
45 | 46 | </td> |
46 | 47 | <td data-label="translators"> |
47 | | - {% if project.translators.link %}<a href="{{ project.translators.link }}" target="_blank">{% endif %} |
| 48 | + {% if project.translators.link %}<a href="{{ project.translators.link }}">{% endif %} |
48 | 49 | {{ project.translators.number }} |
49 | 50 | {% if project.translators.link %}</a>{% endif %} |
50 | 51 | </td> |
51 | | - <td data-label="warnings"><a href="warnings-{{ project.language.code }}.txt" target="_blank">{{ project.warnings }}</a></td> |
| 52 | + <td data-label="warnings"><a href="warnings-{{ project.language.code }}.txt">{{ project.warnings }}</a></td> |
52 | 53 | <td data-label="completion"> |
53 | 54 | <div class="progress-bar" style="width: {{ project.completion }}%;">{{ "{:.2f}".format(project.completion) }}%</div> |
54 | 55 | <div class="progress-bar-outer-label">{{ "{:.2f}".format(project.completion) }}%</div> |
|
57 | 58 | {% endfor %} |
58 | 59 | </tbody> |
59 | 60 | </table> |
60 | | -<p>¹ sum of <a href="https://plausible.io/data-policy#how-we-count-unique-users-without-cookies" target="_blank">daily unique visitors</a> since 8 June 2024</p> |
| 61 | +<p>¹ sum of <a href="https://plausible.io/data-policy#how-we-count-unique-users-without-cookies">daily unique visitors</a> since 8 June 2024</p> |
61 | 62 | <p>² number of Sphinx build process warnings</p> |
62 | | -<p>For more information about translations, see the <a href="https://devguide.python.org/documentation/translating/" target="_blank">Python Developer’s Guide</a>.</p> |
| 63 | +<p>For more information about translations, see the <a href="https://devguide.python.org/documentation/translating/">Python Developer’s Guide</a>.</p> |
63 | 64 | <p>Last updated at {{ generation_time.strftime('%A, %-d %B %Y, %-H:%M:%S %Z') }} (in {{ duration // 60 }}:{{ "{:02}".format(duration % 60) }} minutes).</p> |
64 | 65 | </body> |
65 | 66 | <script> |
|
0 commit comments