From 51ec7582b29c29e370f1bcd77cdcf63a6a2a2426 Mon Sep 17 00:00:00 2001 From: mtmeyrick Date: Wed, 22 Oct 2014 00:29:39 +0100 Subject: [PATCH] Styling added to update for J! Issue and Github --- .../PatchTester/View/Pulls/tmpl/default.php | 19 +++++++++++++------ .../View/Pulls/tmpl/default_items.php | 18 +++++++++--------- .../language/en-GB/en-GB.com_patchtester.ini | 3 ++- 3 files changed, 24 insertions(+), 16 deletions(-) diff --git a/administrator/components/com_patchtester/PatchTester/View/Pulls/tmpl/default.php b/administrator/components/com_patchtester/PatchTester/View/Pulls/tmpl/default.php index 0519dfd..d4cdd8c 100644 --- a/administrator/components/com_patchtester/PatchTester/View/Pulls/tmpl/default.php +++ b/administrator/components/com_patchtester/PatchTester/View/Pulls/tmpl/default.php @@ -11,6 +11,8 @@ \JHtml::_('behavior.tooltip'); \JHtml::_('behavior.modal'); +$this->document->addStyleSheet($this->baseurl.'/components/com_patchtester/assets/octicons/octicons.csss') + $listOrder = $this->escape($this->state->get('list.ordering')); $listDirn = $this->escape($this->state->get('list.direction')); $sortFields = $this->getSortFields(); @@ -80,21 +82,26 @@ else : - + - I - + + + + + + + - + - + @@ -102,7 +109,7 @@ else : items)) : echo $this->loadTemplate('items'); else : ?> - + diff --git a/administrator/components/com_patchtester/PatchTester/View/Pulls/tmpl/default_items.php b/administrator/components/com_patchtester/PatchTester/View/Pulls/tmpl/default_items.php index 2f8c411..5484c3d 100644 --- a/administrator/components/com_patchtester/PatchTester/View/Pulls/tmpl/default_items.php +++ b/administrator/components/com_patchtester/PatchTester/View/Pulls/tmpl/default_items.php @@ -20,18 +20,18 @@ foreach ($this->items as $i => $item) : pull_id; ?> - - escape($item->title); ?> + escape($item->title); ?> + + + + - description) : - echo ''; - else : - echo ' '; - endif; - ?> - + + + + applied) : ?> diff --git a/administrator/components/com_patchtester/language/en-GB/en-GB.com_patchtester.ini b/administrator/components/com_patchtester/language/en-GB/en-GB.com_patchtester.ini index a30b216..e58814e 100644 --- a/administrator/components/com_patchtester/language/en-GB/en-GB.com_patchtester.ini +++ b/administrator/components/com_patchtester/language/en-GB/en-GB.com_patchtester.ini @@ -34,7 +34,8 @@ COM_PATCHTESTER_PULL_ID="Pull ID" COM_PATCHTESTER_NO_CREDENTIALS="No user credentials are saved, this will allow only 60 requests to the GitHub API per hour. Saving user credentials will allow 5,000 requests per hour." COM_PATCHTESTER_NO_ITEMS="No data has been retrieved from GitHub, please click the 'Fetch Data' button in the toolbar to retrieve the open pull requests." COM_PATCHTESTER_NOT_APPLIED="Not Applied" -COM_PATCHTESTER_OPEN_IN_GITHUB="Open in GitHub" +COM_PATCHTESTER_GITHUB="GitHub" +COM_PATCHTESTER_JISSUE="J! Issue" COM_PATCHTESTER_REPO_IS_GONE="The patch could not be applied because the repository is missing" COM_PATCHTESTER_REQUIREMENT_HTTPS="HTTPS wrappers must be enabled" COM_PATCHTESTER_REQUIREMENT_OPENSSL="The OpenSSL extension must be installed and enabled in your php.ini"