From: Michael Tremer Date: Tue, 30 Oct 2018 11:34:29 +0000 (+0000) Subject: fireinfo: Rename vendor-detail template to vendor X-Git-Url: http://git.ipfire.org/?p=ipfire.org.git;a=commitdiff_plain;h=851a00bc3a3da8994acb16af5861d7671f1b5b04 fireinfo: Rename vendor-detail template to vendor Signed-off-by: Michael Tremer --- diff --git a/Makefile.am b/Makefile.am index 08308d8f..1cdb0cc8 100644 --- a/Makefile.am +++ b/Makefile.am @@ -154,7 +154,7 @@ templates_fireinfo_DATA = \ src/templates/fireinfo/stats-network.html \ src/templates/fireinfo/stats-oses.html \ src/templates/fireinfo/stats-virtual.html \ - src/templates/fireinfo/vendor-detail.html \ + src/templates/fireinfo/vendor.html \ src/templates/fireinfo/vendors.html templates_fireinfodir = $(templatesdir)/fireinfo diff --git a/src/templates/fireinfo/vendor-detail.html b/src/templates/fireinfo/vendor.html similarity index 100% rename from src/templates/fireinfo/vendor-detail.html rename to src/templates/fireinfo/vendor.html diff --git a/src/web/fireinfo.py b/src/web/fireinfo.py index 8e4de2b4..53db55ea 100644 --- a/src/web/fireinfo.py +++ b/src/web/fireinfo.py @@ -282,8 +282,7 @@ class DeviceVendorHandler(BaseHandler): vendor_name = self.fireinfo.get_vendor_string(subsystem, vendor_id) - self.render("fireinfo/vendor-detail.html", vendor_name=vendor_name, - devices=devices) + self.render("fireinfo/vendor.html", vendor_name=vendor_name, devices=devices) class DeviceVendorCompatHandler(BaseHandler):