diff options
author | Luke Shumaker <lukeshu@parabola.nu> | 2018-01-15 14:56:19 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@parabola.nu> | 2018-01-15 14:56:19 -0500 |
commit | ec88f4ca4fc57c3d0844bb0b3ca66d45c9a41ad1 (patch) | |
tree | 114d2d74a1b3ab23bf3ea1f6f635ce0de1a2c863 /templates/packages | |
parent | 4e4cd2f35a1ffdfd9ec6fafa60a3286c37013c5c (diff) |
git ls-files templates/ |lukeshu/to-upstream/branding-gen
xargs sed -ri \
-e 's|Arch Linux|{{ BRANDING_DISTRONAME }}|g' \
-e 's|https://wiki.archlinux.org/index.php/([^ "]*)|{% wiki_url '\''\1'\'' %}|g' \
-e 's|https://mailman.archlinux.org|{{ MAILMAN_BASE_URL }}|g' \
-e 's|<a href="https://bugs.archlinux.org/task/\{\{\s*([^ }])\s*}}>FS#\{\{\s*([^ }])\s*}}</a>|{% bug_link \1 %}|g' \
--
Diffstat (limited to 'templates/packages')
-rw-r--r-- | templates/packages/details.html | 2 | ||||
-rw-r--r-- | templates/packages/details.html.jinja | 2 | ||||
-rw-r--r-- | templates/packages/differences.html | 2 | ||||
-rw-r--r-- | templates/packages/files.html | 2 | ||||
-rw-r--r-- | templates/packages/flag.html | 6 | ||||
-rw-r--r-- | templates/packages/flag_confirmed.html | 2 | ||||
-rw-r--r-- | templates/packages/flagged.html | 2 | ||||
-rw-r--r-- | templates/packages/flaghelp.html | 4 | ||||
-rw-r--r-- | templates/packages/groups.html | 2 | ||||
-rw-r--r-- | templates/packages/opensearch.xml | 4 | ||||
-rw-r--r-- | templates/packages/packages_list.html | 2 | ||||
-rw-r--r-- | templates/packages/removed.html | 2 | ||||
-rw-r--r-- | templates/packages/search.html | 6 | ||||
-rw-r--r-- | templates/packages/signoff_options.html | 2 | ||||
-rw-r--r-- | templates/packages/signoffs.html | 2 | ||||
-rw-r--r-- | templates/packages/stale_relations.html | 2 |
16 files changed, 22 insertions, 22 deletions
diff --git a/templates/packages/details.html b/templates/packages/details.html index 7a0f8e88..82f2c604 100644 --- a/templates/packages/details.html +++ b/templates/packages/details.html @@ -1,7 +1,7 @@ {% extends "base.html" %} {% load static from staticfiles %} -{% block title %}Arch Linux - {{ pkg.pkgname }} {{ pkg.full_version }} ({{ pkg.arch.name }}){% endblock %} +{% block title %}{{ BRANDING_DISTRONAME }} - {{ pkg.pkgname }} {{ pkg.full_version }} ({{ pkg.arch.name }}){% endblock %} {% block navbarclass %}anb-packages{% endblock %} {% block content %} diff --git a/templates/packages/details.html.jinja b/templates/packages/details.html.jinja index 9a72622d..f5b08805 100644 --- a/templates/packages/details.html.jinja +++ b/templates/packages/details.html.jinja @@ -69,7 +69,7 @@ <meta itemprop="fileSize" content="{{ pkg.compressed_size }}"/> <meta itemprop="dateCreated" content="{{ pkg.build_date|date("Y-m-d") }}"/> <meta itemprop="datePublished" content="{{ pkg.last_update|date("Y-m-d") }}"/> - <meta itemprop="operatingSystem" content="Arch Linux"/> + <meta itemprop="operatingSystem" content="{{ BRANDING_DISTRONAME }}"/> {% if pkg.packager %}<div style="display:none" itemprop="provider" itemscope itemtype="http://schema.org/Person"> <meta itemprop="name" content="{{ pkg.packager.get_full_name()|escape }}"/> </div>{% endif %} diff --git a/templates/packages/differences.html b/templates/packages/differences.html index 5ebe18e2..bde05a50 100644 --- a/templates/packages/differences.html +++ b/templates/packages/differences.html @@ -3,7 +3,7 @@ {% load static from staticfiles %} {% load package_extras %} -{% block title %}Arch Linux - Package Differences Reports{% endblock %} +{% block title %}{{ BRANDING_DISTRONAME }} - Package Differences Reports{% endblock %} {% block navbarclass %}anb-packages{% endblock %} {% block content %} diff --git a/templates/packages/files.html b/templates/packages/files.html index 879fcbff..667a77cb 100644 --- a/templates/packages/files.html +++ b/templates/packages/files.html @@ -1,5 +1,5 @@ {% extends "base.html" %} -{% block title %}Arch Linux - {{ pkg.pkgname }} {{ pkg.full_version }} ({{ pkg.arch.name }}) - File List{% endblock %} +{% block title %}{{ BRANDING_DISTRONAME }} - {{ pkg.pkgname }} {{ pkg.full_version }} ({{ pkg.arch.name }}) - File List{% endblock %} {% block navbarclass %}anb-packages{% endblock %} {% block content %} diff --git a/templates/packages/flag.html b/templates/packages/flag.html index a83f37ff..34f1c7fb 100644 --- a/templates/packages/flag.html +++ b/templates/packages/flag.html @@ -1,7 +1,7 @@ {% extends "base.html" %} {% load package_extras %} -{% block title %}Arch Linux - Flag Package - {{ package.pkgname }} {{ package.full_version }} ({{ package.arch.name }}){% endblock %} +{% block title %}{{ BRANDING_DISTRONAME }} - Flag Package - {{ package.pkgname }} {{ package.full_version }} ({{ package.arch.name }}){% endblock %} {% block head %}<meta name="robots" content="noindex"/>{% endblock %} {% block navbarclass %}anb-packages{% endblock %} @@ -23,13 +23,13 @@ <p>The message box portion is meant for short messages only. If you need more than 200 characters for your message, then file a bug report, email the maintainer directly, or send - an email to the <a href="https://mailman.archlinux.org/mailman/listinfo/arch-general" + an email to the <a href="{{ MAILMAN_BASE_URL }}/mailman/listinfo/arch-general" title="Visit the arch-general mailing list">arch-general mailing list</a> with your additional text.</p> <p><strong>Note:</strong> Do <em>not</em> use this facility if the package is broken! The package will be unflagged and the report will be ignored! - <a href="https://bugs.archlinux.org/" title="Arch Linux Bugtracker">Use the + <a href="https://bugs.archlinux.org/" title="{{ BRANDING_DISTRONAME }} Bugtracker">Use the bugtracker to file a bug</a> instead.</p> <p>Please confirm your flag request for {{package.pkgname}}:</p> diff --git a/templates/packages/flag_confirmed.html b/templates/packages/flag_confirmed.html index 6274adbb..a4c4db2a 100644 --- a/templates/packages/flag_confirmed.html +++ b/templates/packages/flag_confirmed.html @@ -1,7 +1,7 @@ {% extends "base.html" %} {% load package_extras %} -{% block title %}Arch Linux - Package Flagged - {{ package.pkgname }} {{ package.full_version }} ({{ package.arch.name }}){% endblock %} +{% block title %}{{ BRANDING_DISTRONAME }} - Package Flagged - {{ package.pkgname }} {{ package.full_version }} ({{ package.arch.name }}){% endblock %} {% block head %}<meta name="robots" content="noindex"/>{% endblock %} {% block navbarclass %}anb-packages{% endblock %} diff --git a/templates/packages/flagged.html b/templates/packages/flagged.html index bbe0fad5..4b12ca8f 100644 --- a/templates/packages/flagged.html +++ b/templates/packages/flagged.html @@ -1,7 +1,7 @@ {% extends "base.html" %} {% load package_extras %} -{% block title %}Arch Linux - Flag Package - {{ pkg.pkgname }} {{ pkg.full_version }} ({{ pkg.arch.name }}){% endblock %} +{% block title %}{{ BRANDING_DISTRONAME }} - Flag Package - {{ pkg.pkgname }} {{ pkg.full_version }} ({{ pkg.arch.name }}){% endblock %} {% block head %}<meta name="robots" content="noindex"/>{% endblock %} {% block navbarclass %}anb-packages{% endblock %} diff --git a/templates/packages/flaghelp.html b/templates/packages/flaghelp.html index c6860264..eb2226f2 100644 --- a/templates/packages/flaghelp.html +++ b/templates/packages/flaghelp.html @@ -24,12 +24,12 @@ <p>The message box portion of the flag utility is meant for short messages only. If you need more than 200 characters for your message, then file a bug report, email the maintainer directly, or send - an email to the <a target="_blank" href="https://mailman.archlinux.org/mailman/listinfo/arch-general" + an email to the <a target="_blank" href="{{ MAILMAN_BASE_URL }}/mailman/listinfo/arch-general" title="Visit the arch-general mailing list">arch-general mailing list</a> with your additional text.</p> <p><strong>Note:</strong> Please do <em>not</em> use this facility if the package is broken! Use the <a target="_blank" href="https://bugs.archlinux.org/" - title="Arch Linux Bugtracker">bugtracker</a> instead.</p> + title="{{ BRANDING_DISTRONAME }} Bugtracker">bugtracker</a> instead.</p> </body> </html> diff --git a/templates/packages/groups.html b/templates/packages/groups.html index ee4f0312..39a13389 100644 --- a/templates/packages/groups.html +++ b/templates/packages/groups.html @@ -2,7 +2,7 @@ {% load cycle from future %} {% load static from staticfiles %} -{% block title %}Arch Linux - Package Groups{% if arch %} - {{ arch }}{% endif %}{% endblock %} +{% block title %}{{ BRANDING_DISTRONAME }} - Package Groups{% if arch %} - {{ arch }}{% endif %}{% endblock %} {% block navbarclass %}anb-packages{% endblock %} {% block content %} diff --git a/templates/packages/opensearch.xml b/templates/packages/opensearch.xml index 6c50d991..e7e13617 100644 --- a/templates/packages/opensearch.xml +++ b/templates/packages/opensearch.xml @@ -1,8 +1,8 @@ {% load static from staticfiles %}<?xml version="1.0" encoding="UTF-8"?> <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"> <ShortName>Arch Packages</ShortName> - <LongName>Arch Linux Package Repository Search</LongName> - <Description>Search the Arch Linux package repositories by keyword in package names and descriptions.</Description> + <LongName>{{ BRANDING_DISTRONAME }} Package Repository Search</LongName> + <Description>Search the {{ BRANDING_DISTRONAME }} package repositories by keyword in package names and descriptions.</Description> <Tags>linux archlinux package software</Tags> <Image height="16" width="16" type="image/x-icon">{{ domain }}{% static "favicon.ico" %}</Image> <Image height="64" width="64" type="image/png">{{ domain }}{% static "logos/icon-transparent-64x64.png" %}</Image> diff --git a/templates/packages/packages_list.html b/templates/packages/packages_list.html index 0a1627f8..9736d36c 100644 --- a/templates/packages/packages_list.html +++ b/templates/packages/packages_list.html @@ -3,7 +3,7 @@ {% load static from staticfiles %} {% load package_extras %} -{% block title %}Arch Linux - {{ name }} ({{ arch.name }}) - {{ list_title }}{% endblock %} +{% block title %}{{ BRANDING_DISTRONAME }} - {{ name }} ({{ arch.name }}) - {{ list_title }}{% endblock %} {% block navbarclass %}anb-packages{% endblock %} {% block content %} diff --git a/templates/packages/removed.html b/templates/packages/removed.html index f188b6db..2d730130 100644 --- a/templates/packages/removed.html +++ b/templates/packages/removed.html @@ -1,7 +1,7 @@ {% extends "base.html" %} {% load package_extras %} -{% block title %}Arch Linux - Not Available - {{ name }} {{ version }} ({{ arch.name }}){% endblock %} +{% block title %}{{ BRANDING_DISTRONAME }} - Not Available - {{ name }} {{ version }} ({{ arch.name }}){% endblock %} {% block navbarclass %}anb-packages{% endblock %} {% block content %} diff --git a/templates/packages/search.html b/templates/packages/search.html index d4a47b26..8037a413 100644 --- a/templates/packages/search.html +++ b/templates/packages/search.html @@ -2,12 +2,12 @@ {% load cycle from future %} {% load package_extras %} -{% block title %}Arch Linux - Package Search{% endblock %} +{% block title %}{{ BRANDING_DISTRONAME }} - Package Search{% endblock %} {% block navbarclass %}anb-packages{% endblock %} {% block head %} {% if is_paginated and page_obj.number > 1 %}<meta name="robots" content="noindex, nofollow"/>{% endif %} -<link rel="alternate" type="application/rss+xml" title="Arch Linux Package Updates" href="/feeds/packages/" /> +<link rel="alternate" type="application/rss+xml" title="{{ BRANDING_DISTRONAME }} Package Updates" href="/feeds/packages/" /> {% endblock %} {% block content %} @@ -143,7 +143,7 @@ {% else %}searching the <a href="https://aur.archlinux.org/">AUR</a>{% endif %} to see if the package can be found there.</p> - <p>You are browsing the Arch Linux package database. From here you can find + <p>You are browsing the {{ BRANDING_DISTRONAME }} package database. From here you can find detailed information about packages located in the official supported repositories.</p> </div> {% endblock %} diff --git a/templates/packages/signoff_options.html b/templates/packages/signoff_options.html index ee9b8b47..40b7cac7 100644 --- a/templates/packages/signoff_options.html +++ b/templates/packages/signoff_options.html @@ -1,6 +1,6 @@ {% extends "base.html" %} -{% block title %}Arch Linux - Package Signoff Options - {{ package.pkgbase }} {{ package.full_version }} ({{ package.arch.name }}){% endblock %} +{% block title %}{{ BRANDING_DISTRONAME }} - Package Signoff Options - {{ package.pkgbase }} {{ package.full_version }} ({{ package.arch.name }}){% endblock %} {% block head %}<meta name="robots" content="noindex"/>{% endblock %} {% block navbarclass %}anb-packages{% endblock %} diff --git a/templates/packages/signoffs.html b/templates/packages/signoffs.html index 1c133f15..06766935 100644 --- a/templates/packages/signoffs.html +++ b/templates/packages/signoffs.html @@ -3,7 +3,7 @@ {% load static from staticfiles %} {% load package_extras %} -{% block title %}Arch Linux - Package Signoffs{% endblock %} +{% block title %}{{ BRANDING_DISTRONAME }} - Package Signoffs{% endblock %} {% block navbarclass %}anb-packages{% endblock %} {% block content %} diff --git a/templates/packages/stale_relations.html b/templates/packages/stale_relations.html index 2dafc2be..949b563e 100644 --- a/templates/packages/stale_relations.html +++ b/templates/packages/stale_relations.html @@ -2,7 +2,7 @@ {% load cycle from future %} {% load static from staticfiles %} -{% block title %}Arch Linux - Stale Package Relations{% endblock %} +{% block title %}{{ BRANDING_DISTRONAME }} - Stale Package Relations{% endblock %} {% block navbarclass %}anb-packages{% endblock %} {% block content %} |