From 143f66c43f741cc49bf7410be2d1d46297110ad2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sat, 7 Jul 2018 18:35:00 +0200 Subject: [PATCH] Product-only: - rewrote "mini links" (with custom CSS) to PrimeFaces' p:menuButton and p:menuitem, also moved them to proper "dropdown" folder MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- web/WEB-INF/product-links.jsf.taglib.xml | 4 +-- .../financial/receipt/admin_receipt_links.tpl | 0 .../receipt_item/admin_receipt_item_links.tpl | 0 .../admin_generic_product_links.tpl | 24 +++++++++++++ .../admin_product_category_links.tpl | 24 +++++++++++++ .../admin_generic_product_links.tpl | 34 ------------------- .../admin_product_category_links.tpl | 34 ------------------- 7 files changed, 50 insertions(+), 70 deletions(-) rename web/WEB-INF/resources/tags/admin/{links/mini => dropdown}/financial/receipt/admin_receipt_links.tpl (100%) rename web/WEB-INF/resources/tags/admin/{links/mini => dropdown}/financial/receipt_item/admin_receipt_item_links.tpl (100%) create mode 100644 web/WEB-INF/resources/tags/admin/dropdown/generic_product/admin_generic_product_links.tpl create mode 100644 web/WEB-INF/resources/tags/admin/dropdown/product_category/admin_product_category_links.tpl delete mode 100644 web/WEB-INF/resources/tags/admin/links/mini/generic_product/admin_generic_product_links.tpl delete mode 100644 web/WEB-INF/resources/tags/admin/links/mini/product_category/admin_product_category_links.tpl diff --git a/web/WEB-INF/product-links.jsf.taglib.xml b/web/WEB-INF/product-links.jsf.taglib.xml index 1d587aeb..55ea2c55 100644 --- a/web/WEB-INF/product-links.jsf.taglib.xml +++ b/web/WEB-INF/product-links.jsf.taglib.xml @@ -25,7 +25,7 @@ along with this program. If not, see . outputProductCategoryAdminMiniLinks This tag renders administrative "mini-links" for given category instance. - resources/tags/admin/links/mini/product_category/admin_product_category_links.tpl + resources/tags/admin/dropdown/product_category/admin_product_category_links.tpl category The product category instance that provides the data for this tag. @@ -48,7 +48,7 @@ along with this program. If not, see . outputGenericProductAdminMiniLinks This tag renders administrative "mini-links" for given product instance. - resources/tags/admin/links/mini/generic_product/admin_generic_product_links.tpl + resources/tags/admin/dropdown/generic_product/admin_generic_product_links.tpl product The generic product instance that provides the data for this tag. diff --git a/web/WEB-INF/resources/tags/admin/links/mini/financial/receipt/admin_receipt_links.tpl b/web/WEB-INF/resources/tags/admin/dropdown/financial/receipt/admin_receipt_links.tpl similarity index 100% rename from web/WEB-INF/resources/tags/admin/links/mini/financial/receipt/admin_receipt_links.tpl rename to web/WEB-INF/resources/tags/admin/dropdown/financial/receipt/admin_receipt_links.tpl diff --git a/web/WEB-INF/resources/tags/admin/links/mini/financial/receipt_item/admin_receipt_item_links.tpl b/web/WEB-INF/resources/tags/admin/dropdown/financial/receipt_item/admin_receipt_item_links.tpl similarity index 100% rename from web/WEB-INF/resources/tags/admin/links/mini/financial/receipt_item/admin_receipt_item_links.tpl rename to web/WEB-INF/resources/tags/admin/dropdown/financial/receipt_item/admin_receipt_item_links.tpl diff --git a/web/WEB-INF/resources/tags/admin/dropdown/generic_product/admin_generic_product_links.tpl b/web/WEB-INF/resources/tags/admin/dropdown/generic_product/admin_generic_product_links.tpl new file mode 100644 index 00000000..1c002efc --- /dev/null +++ b/web/WEB-INF/resources/tags/admin/dropdown/generic_product/admin_generic_product_links.tpl @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + diff --git a/web/WEB-INF/resources/tags/admin/dropdown/product_category/admin_product_category_links.tpl b/web/WEB-INF/resources/tags/admin/dropdown/product_category/admin_product_category_links.tpl new file mode 100644 index 00000000..21244389 --- /dev/null +++ b/web/WEB-INF/resources/tags/admin/dropdown/product_category/admin_product_category_links.tpl @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + diff --git a/web/WEB-INF/resources/tags/admin/links/mini/generic_product/admin_generic_product_links.tpl b/web/WEB-INF/resources/tags/admin/links/mini/generic_product/admin_generic_product_links.tpl deleted file mode 100644 index 4497520c..00000000 --- a/web/WEB-INF/resources/tags/admin/links/mini/generic_product/admin_generic_product_links.tpl +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - diff --git a/web/WEB-INF/resources/tags/admin/links/mini/product_category/admin_product_category_links.tpl b/web/WEB-INF/resources/tags/admin/links/mini/product_category/admin_product_category_links.tpl deleted file mode 100644 index 81d15a7e..00000000 --- a/web/WEB-INF/resources/tags/admin/links/mini/product_category/admin_product_category_links.tpl +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - -- 2.39.5