Skip to content

Commit

Permalink
Bug techjoomla#231 fix: backend>> The title of form view of field gro…
Browse files Browse the repository at this point in the history
…up is not apropriate
  • Loading branch information
apghalsasi25 committed Dec 9, 2019
1 parent 21eb04f commit bbfbb30
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 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/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 bbfbb30

Please sign in to comment.