diff options
-rw-r--r-- | packages/templatetags/package_extras.py | 2 | ||||
-rw-r--r-- | templates/packages/details.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/templatetags/package_extras.py b/packages/templatetags/package_extras.py index 960fbb4d..ca977c03 100644 --- a/packages/templatetags/package_extras.py +++ b/packages/templatetags/package_extras.py @@ -103,7 +103,7 @@ def get_download_link(package): } if parts["arch"] == "any": parts["arch"] = "i686" - linkbase = "https//repo.parabolagnulinux.org/%(repo)s/os/%(arch)s/%(pkgfile)s" + linkbase = "https://repo.parabolagnulinux.org/%(repo)s/os/%(arch)s/%(pkgfile)s" return linkbase % parts @register.simple_tag diff --git a/templates/packages/details.html b/templates/packages/details.html index a14271b3..35134f97 100644 --- a/templates/packages/details.html +++ b/templates/packages/details.html @@ -41,7 +41,7 @@ onclick="return !window.open('/packages/flaghelp/','FlagHelp', 'height=350,width=450,location=no,scrollbars=yes,menubars=no,toolbars=no,resizable=no');">(?)</a></li> {% endif %} - <li><a href="download/" rel="nofollow" title="Download {{ pkg.pkgname }} from mirror">Download From Mirror</a></li> + <li><a href="{% get_download_link pkg %}" rel="nofollow" title="Download {{ pkg.pkgname }} from mirror">Download From Mirror</a></li> </ul> {% if perms.main.change_package %} |