From c6df1e60bbe23ac8b3a32acb80a3c8ead6f63836 Mon Sep 17 00:00:00 2001 From: Emanuel Haupt Date: Tue, 11 Apr 2023 17:10:27 +0200 Subject: [PATCH] feat: Add an URL parameter to activate the outdated checkbox Add the option to specify an URL parameter (outdated=0|1) to activate/deactivate the outdated checkbox. This makes it possible to bookmark your ports and have it already filtered. While here, I've also added it to the 'index view': For instance: * Maintainer view - https://portscout.freebsd.org/ehaupt@freebsd.org.html?outdated=1 * Index view - https://portscout.freebsd.org/?outdated=1 --- templates/index.html | 13 +++++++++++++ templates/maintainer.html | 13 +++++++++++++ 2 files changed, 26 insertions(+) diff --git a/templates/index.html b/templates/index.html index a70d486..c152017 100644 --- a/templates/index.html +++ b/templates/index.html @@ -101,6 +101,19 @@

All Maintainers

+ +

diff --git a/templates/maintainer.html b/templates/maintainer.html index 4aed675..8a95e78 100644 --- a/templates/maintainer.html +++ b/templates/maintainer.html @@ -115,6 +115,19 @@

%%(maintainer)'s ports

+ +