diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-04-22 00:51:50 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-04-22 00:51:50 -0400 |
commit | df17d5b1855eab77be0ade70613e4f93db0034ea (patch) | |
tree | 77ecd595d6d8a64da0bfadc8e0947ab80160d407 | |
parent | df7a6aa620af6a165bdacd755757f8cb1179331c (diff) |
take care of a few introduced arch-isms
-rw-r--r-- | releng/models.py | 4 | ||||
-rw-r--r-- | releng/views.py | 2 | ||||
-rw-r--r-- | templates/packages/removed.html | 5 |
3 files changed, 4 insertions, 7 deletions
diff --git a/releng/models.py b/releng/models.py index 5ee2f325..a7d3c337 100644 --- a/releng/models.py +++ b/releng/models.py @@ -142,11 +142,11 @@ class Release(models.Model): return "iso/%s/" % self.version def iso_url(self): - return "iso/%s/archlinux-%s-dual.iso" % (self.version, self.version) + return "iso/%s/parabola-%s-dual.iso" % (self.version, self.version) def magnet_uri(self): query = [ - ('dn', "archlinux-%s-dual.iso" % self.version), + ('dn', "parabola-%s-dual.iso" % self.version), ] if settings.TORRENT_TRACKERS: query.extend(('tr', uri) for uri in settings.TORRENT_TRACKERS) diff --git a/releng/views.py b/releng/views.py index ca0a7dd2..37f19273 100644 --- a/releng/views.py +++ b/releng/views.py @@ -234,7 +234,7 @@ def release_torrent(request, version): data = b64decode(release.torrent_data.encode('utf-8')) response = HttpResponse(data, content_type='application/x-bittorrent') # TODO: this is duplicated from Release.iso_url() - filename = 'archlinux-%s-dual.iso.torrent' % release.version + filename = 'parabola-%s-dual.iso.torrent' % release.version response['Content-Disposition'] = 'attachment; filename=%s' % filename return response diff --git a/templates/packages/removed.html b/templates/packages/removed.html index 2d730130..7f6600ee 100644 --- a/templates/packages/removed.html +++ b/templates/packages/removed.html @@ -18,10 +18,7 @@ {% endfor %} </ul> {% else %} - <p>Unfortunately, this package cannot be found in any other repositories. - Try using the <a href="{% url 'packages-search' %}?name={{ update.pkgname|urlencode }}">package search page</a>, - or try <a href="https://aur.archlinux.org/packages.php?K={{ update.pkgname|urlencode }}">searching the AUR</a> - to see if the package can be found there.</p> + <p>Unfortunately, this package cannot be found in any other repositories.</p> {% endif %} </div> {% endblock %} |