From f7fc1bd4b865c2eedbbab019e232d042205ddb10 Mon Sep 17 00:00:00 2001 From: Hans Kuijpers Date: Fri, 25 Sep 2020 08:51:33 +0200 Subject: [PATCH 1/2] wrap all buttons in btn-group to improve styling --- .../tmpl/category/default_articles.php | 35 ++++++++++--------- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/components/com_content/tmpl/category/default_articles.php b/components/com_content/tmpl/category/default_articles.php index 53aed65489830..8f3faa458e982 100644 --- a/components/com_content/tmpl/category/default_articles.php +++ b/components/com_content/tmpl/category/default_articles.php @@ -68,8 +68,8 @@ params->get('filter_field') !== 'hide' || $this->params->get('show_pagination_limit')) : ?>
- params->get('filter_field') !== 'hide') : ?> -
+
+ params->get('filter_field') !== 'hide') : ?> params->get('filter_field') === 'tag') : ?> + + + params->get('show_pagination_limit')) : ?> + + + + - - params->get('show_pagination_limit')) : ?> - - +
- -
-
- -
-
items)) : ?> From f74fdb1a3c3ff34242823d7c433560e1f9eeb80e Mon Sep 17 00:00:00 2001 From: Hans Kuijpers Date: Fri, 25 Sep 2020 11:35:56 +0200 Subject: [PATCH 2/2] add if-then statement to hide button if not needed --- .../com_content/tmpl/category/default_articles.php | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/components/com_content/tmpl/category/default_articles.php b/components/com_content/tmpl/category/default_articles.php index 8f3faa458e982..6d9cbc01b9648 100644 --- a/components/com_content/tmpl/category/default_articles.php +++ b/components/com_content/tmpl/category/default_articles.php @@ -96,12 +96,14 @@ pagination->getLimitBox(); ?> - -