diff --git a/contribute.py b/contribute.py index 568d99a08..aa38bd5d0 100644 --- a/contribute.py +++ b/contribute.py @@ -22,4 +22,5 @@ def get_contrib_link(language: str, repo: str | None) -> str | None: and 'https://explore.transifex.com/python-doc/python-newest/' ) or (repo and f'https://github.com/{repo}') + or 'https://devguide.python.org/documentation/translations/translating/' ) diff --git a/generate.py b/generate.py index 88d05e8ad..7aaa1e9ea 100644 --- a/generate.py +++ b/generate.py @@ -81,7 +81,6 @@ def get_project_data( change, built, translated_name=languages_built.get(language.code, ''), - uses_platform=language.code in contribute.pulling_from_transifex, contribution_link=contribute.get_contrib_link(language.code, repo), ) @@ -95,7 +94,6 @@ class LanguageProjectData: change: float built: bool translated_name: str - uses_platform: bool contribution_link: str | None diff --git a/src/style.css b/src/style.css index 87e0ff89e..2c38d6e1e 100644 --- a/src/style.css +++ b/src/style.css @@ -90,6 +90,19 @@ body { background-color: #f5e9a8; } +ul.links-row { + display: flex; + padding-left: 0; + list-style: none; +} +ul.links-row li:not(:first-child) { + padding-left: 1ch; +} +ul.links-row li:not(:first-child)::before { + content: '•'; + margin-right: 0.5ch; +} + /* ------------------------------ Index ------------------------------------- */ .progress-bar-container { diff --git a/templates/index.html.jinja b/templates/index.html.jinja index 3e25c62de..1a57a7d96 100644 --- a/templates/index.html.jinja +++ b/templates/index.html.jinja @@ -13,17 +13,19 @@

30-day progress: {{ '{:.2f}%'.format(project.change) }}

+