From 0336b1248a00f914671bc11de8f01d2cd059d507 Mon Sep 17 00:00:00 2001 From: Deepa Date: Thu, 24 Oct 2019 18:29:12 +0530 Subject: [PATCH] Bug #152417 fix: ActivityStream List view [Backend] : Error message div is empty --- src/admin/views/activities/tmpl/default.php | 102 ++++++++++---------- src/admin/views/activities/view.html.php | 1 + 2 files changed, 53 insertions(+), 50 deletions(-) diff --git a/src/admin/views/activities/tmpl/default.php b/src/admin/views/activities/tmpl/default.php index af0ae04..e216a11 100755 --- a/src/admin/views/activities/tmpl/default.php +++ b/src/admin/views/activities/tmpl/default.php @@ -8,6 +8,7 @@ // No direct access to this file defined('_JEXEC') or die; +use Joomla\CMS\Language\Text; JHtml::_('formbehavior.chosen', 'select'); $sortFields = $this->getSortFields(); @@ -22,42 +23,53 @@ ?> - - - items) && empty($this->items['error'])) : ?> - - - - - - -
- - - - - - - - - - - + items)) + { + ?> +
 
+ +
+ +
+ items) && empty($this->items['error'])) + { + ?> + + + + + + + + + + + + + + - - - - - - - - - - - items) && empty($this->items['error'])) : ?> + + + items as $i => $row) : $link = JRoute::_('index.php?option=com_activitystream&task=activity.edit&id=' . $row->id); ?> @@ -84,21 +96,11 @@ - -
 
-
-
- items['message'])) - { - echo $this->items['message']; - } - ?> -
-
- - -
+ + + + + + + + + + + +
+ pagination->getListFooter(); ?> +
- pagination->getListFooter(); ?> -
+ +
+ diff --git a/src/admin/views/activities/view.html.php b/src/admin/views/activities/view.html.php index d637741..2d316b9 100755 --- a/src/admin/views/activities/view.html.php +++ b/src/admin/views/activities/view.html.php @@ -85,6 +85,7 @@ protected function addToolBar() JToolBarHelper::publish('activity.publish'); JToolBarHelper::unpublish('activity.publish'); JToolBarHelper::deleteList('', 'activities.delete'); + JToolBarHelper::preferences('com_activitystream'); } /**