VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: AH on September 01, 2014, 16:37:54 PM

Title: 2.6.8.b admin order list - delete and update toooooo close together
Post by: AH on September 01, 2014, 16:37:54 PM
Please can we add a spacer element in the order list view

administrator\components\com_virtuemart\views\orders\view.html.php

The update button is far too close to the delete button and can result in accidental deletion of orders rather than Update.


/*
* UpdateStatus removed from the toolbar; don't understand how this was intented to work but
* the order ID's aren't properly passed. Might be readded later; the controller needs to handle
* the arguments.
*/

/* Toolbar */
//JToolBarHelper::customX( 'CreateOrderHead', 'new','new','New',false);
JToolBarHelper::save('updatestatus', JText::_('COM_VIRTUEMART_UPDATE_STATUS'));
            JToolBarHelper::spacer('100'); // new spacer quorvia

JToolBarHelper::deleteListX();

/* Assign the data */
$this->assignRef('orderslist', $orderslist);

$pagination = $model->getPagination();
$this->assignRef('pagination', $pagination);

}



[attachment cleanup by admin]
Title: Re: 2.6.8.b admin order list - delete and update toooooo close together
Post by: AH on September 02, 2014, 22:44:50 PM
2.6.8.c

now with extra spacing - nice  8)