From e030dd9d5e81a9fa8e829fe633c0396ccc90ac1e Mon Sep 17 00:00:00 2001 From: Michael Babker Date: Fri, 12 Jul 2013 21:51:14 -0500 Subject: [PATCH] Standardize the layout a bit --- .../views/pulls/tmpl/default.php | 104 +++++++++--------- .../views/pulls/tmpl/default_items.php | 20 ++-- 2 files changed, 65 insertions(+), 59 deletions(-) diff --git a/administrator/components/com_patchtester/views/pulls/tmpl/default.php b/administrator/components/com_patchtester/views/pulls/tmpl/default.php index 8426950..f3e33c1 100644 --- a/administrator/components/com_patchtester/views/pulls/tmpl/default.php +++ b/administrator/components/com_patchtester/views/pulls/tmpl/default.php @@ -23,59 +23,63 @@ $listDirn = $this->escape($this->state->get('list.direction'));
+
+
+
+ + +
+
+ + pagination->getLimitBox(); ?> +
+
+
-
- - -
- - - - - - - - - - - - - +
- -
- -
- -
- -
I - - - - - -
+ - + + + + + + - - - loadTemplate('items'); ?> - -
- + +
+ +
+ +
+ +
I + + + + + +
-
+ + + + + + + + + loadTemplate('items'); ?> + + + pagination->getListFooter(); ?> - pagination->getListFooter(); ?> + + + + + +
- - - - - - - diff --git a/administrator/components/com_patchtester/views/pulls/tmpl/default_items.php b/administrator/components/com_patchtester/views/pulls/tmpl/default_items.php index b3ce9c6..343c1ca 100644 --- a/administrator/components/com_patchtester/views/pulls/tmpl/default_items.php +++ b/administrator/components/com_patchtester/views/pulls/tmpl/default_items.php @@ -51,19 +51,21 @@ foreach ($this->items as $i => $item) : endif; ?> - applied) : - echo '
'; - echo JText::_('COM_PATCHTESTER_APPLIED'); - echo '
'; - else : - echo JText::_('COM_PATCHTESTER_NOT_APPLIED'); - endif; ?> + applied) : ?> + + + + + + + + applied) : - echo '' . JText::_('COM_PATCHTESTER_REVERT_PATCH') . ''; + echo '' . JText::_('COM_PATCHTESTER_REVERT_PATCH') . ''; else : - echo '' . JText::_('COM_PATCHTESTER_APPLY_PATCH') . ''; + echo '' . JText::_('COM_PATCHTESTER_APPLY_PATCH') . ''; endif; ?>