Skip to content

Commit

Permalink
bug techjoomla#229 fix: backend >> The title of form view of Fields n…
Browse files Browse the repository at this point in the history
…eeds to be apropriate
  • Loading branch information
apghalsasi25 committed Dec 9, 2019
1 parent 21eb04f commit d52c8d2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions admin_language/en-GB/en-GB.com_tjfields.ini
Original file line number Diff line number Diff line change
Expand Up @@ -342,10 +342,10 @@ COM_TJFIELDS_CITY_EXISTS_IN_REGION_COUNTRY="Another city with same name exists i

COM_TJFIELDS_TITLE_COMPONENT="Fields"
COM_TJFIELDS_TITLE_COMPONENT_GROUPS="Field Groups"
COM_TJFIELDS_ADD_GROUP=" Add new field group"
COM_TJFIELDS_EDIT_GROUP=" Edit field group"
COM_TJFIELDS_ADD_FIELD=" Add new field"
COM_TJFIELDS_EDIT_FIELD=" Edit field"
COM_TJFIELDS_ADD_GROUP="Field Group: Add"
COM_TJFIELDS_EDIT_GROUP="Field Group: Edit"
COM_TJFIELDS_ADD_FIELD="Field: Add"
COM_TJFIELDS_EDIT_FIELD="Field: Edit"
COM_TJFIELDS_GROUP_TITLE_ALREADY_EXISTS="Field group with same name already exists"

;validation
Expand Down
6 changes: 3 additions & 3 deletions administrator/views/field/view.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ protected function addToolbar()
$client = $input->get('client');
$extention = explode('.', $client);
$canDo = TjfieldsHelper::getActions($extention[0], 'field');
$component_title = JText::_('COM_TJFIELDS_TITLE_COMPONENT');
//$component_title = JText::_('COM_TJFIELDS_TITLE_COMPONENT');

if ($isNew)
{
Expand All @@ -94,11 +94,11 @@ protected function addToolbar()

if (JVERSION >= '3.0')
{
JToolbarHelper::title($component_title . $viewTitle, 'pencil-2');
JToolbarHelper::title($viewTitle, 'pencil-2');
}
else
{
JToolbarHelper::title($component_title . $viewTitle, 'field.png');
JToolbarHelper::title($viewTitle, 'field.png');
}

// If not checked out, can save the item.
Expand Down
6 changes: 3 additions & 3 deletions administrator/views/group/view.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ protected function addToolbar()
$checkedOut = false;
}

$component_title = JText::_('COM_TJFIELDS_TITLE_COMPONENT');
//$component_title = JText::_('COM_TJFIELDS_TITLE_COMPONENT');

if (!empty($client))
{
Expand All @@ -100,11 +100,11 @@ protected function addToolbar()

if (JVERSION >= '3.0')
{
JToolbarHelper::title($component_title . $viewTitle, 'pencil-2');
JToolbarHelper::title($viewTitle, 'pencil-2');
}
else
{
JToolbarHelper::title($component_title . $viewTitle, 'group.png');
JToolbarHelper::title($viewTitle, 'group.png');
}

// If not checked out, can save the item.
Expand Down

0 comments on commit d52c8d2

Please sign in to comment.