Skip to content

Commit

Permalink
Help buttons (#99)
Browse files Browse the repository at this point in the history
* com_privacy help button and links

* com_action help button and links
  • Loading branch information
brianteeman authored and mbabker committed Jun 17, 2018
1 parent 24e7cb2 commit d9980e7
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ protected function addToolbar()
{
JToolbarHelper::preferences('com_actionlogs');
}
JToolbarHelper::help('JHELP_COMPONENTS_ACTIONLOGS');

JToolBarHelper::custom('actionlogs.exportSelectedLogs', 'download', '', 'COM_ACTIONLOGS_EXPORT_CSV', true);
JToolBarHelper::custom('actionlogs.exportLogs', 'download', '', 'COM_ACTIONLOGS_EXPORT_ALL_CSV', false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,5 +82,7 @@ protected function addToolbar()
JToolbarHelper::title(JText::_('COM_PRIVACY_VIEW_CAPABILITIES'), 'dashboard');

JToolbarHelper::preferences('com_privacy');

JToolbarHelper::help('JHELP_COMPONENTS_PRIVACY_CAPABILITIES');
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -111,5 +111,7 @@ protected function addToolbar()
JToolbarHelper::title(JText::_('COM_PRIVACY_VIEW_CONSENTS'), 'dashboard');

JToolbarHelper::preferences('com_privacy');

JToolbarHelper::help('JHELP_COMPONENTS_PRIVACY_CONSENTS');
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -106,5 +106,7 @@ protected function addToolbar()
JToolbarHelper::title(JText::_('COM_PRIVACY_VIEW_DASHBOARD'), 'dashboard');

JToolbarHelper::preferences('com_privacy');

JToolbarHelper::help('JHELP_COMPONENTS_PRIVACY_DASHBOARD');
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ protected function addToolbar()

JToolbarHelper::apply('request.save');
JToolbarHelper::cancel('request.cancel');
JToolbarHelper::help('JHELP_COMPONENTS_PRIVACY_REQUEST_EDIT');
}
else
{
Expand Down Expand Up @@ -163,6 +164,7 @@ protected function addToolbar()
}

JToolbarHelper::cancel('request.cancel', 'JTOOLBAR_CLOSE');
JToolbarHelper::help('JHELP_COMPONENTS_PRIVACY_REQUEST');
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,9 @@ protected function addToolbar()
JToolbarHelper::title(JText::_('COM_PRIVACY_VIEW_REQUESTS'), 'dashboard');

JToolbarHelper::addNew('request.add');

JToolbarHelper::preferences('com_privacy');
JToolbarHelper::help('JHELP_COMPONENTS_PRIVACY_REQUESTS');

}
}
7 changes: 7 additions & 0 deletions administrator/language/en-GB/en-GB.ini
Original file line number Diff line number Diff line change
Expand Up @@ -646,6 +646,7 @@ JGRID_HEADING_ORDERING="Ordering"
JGRID_HEADING_ORDERING_ASC="Ordering ascending"
JGRID_HEADING_ORDERING_DESC="Ordering descending"

JHELP_COMPONENTS_ACTIONLOGS="Components_Actionlogs"
JHELP_COMPONENTS_ASSOCIATIONS="Components_Associations"
JHELP_COMPONENTS_ASSOCIATIONS_EDIT="Components_Associations_Edit"
JHELP_COMPONENTS_BANNERS_BANNERS_EDIT="Components_Banners_Banners_Edit"
Expand Down Expand Up @@ -711,6 +712,12 @@ JHELP_COMPONENTS_NEWSFEEDS_CATEGORY_EDIT="Components_Newsfeeds_Categories_Edit"
JHELP_COMPONENTS_NEWSFEEDS_FEEDS_EDIT="Components_Newsfeeds_Feeds_Edit"
JHELP_COMPONENTS_NEWSFEEDS_FEEDS="Components_Newsfeeds_Feeds"
JHELP_COMPONENTS_POST_INSTALLATION_MESSAGES="Components_Post_installation_Messages"
JHELP_COMPONENTS_PRIVACY_CAPABILITIES="Components_Privacy_Capabilities"
JHELP_COMPONENTS_PRIVACY_CONSENTS="Components_Privacy_Consents"
JHELP_COMPONENTS_PRIVACY_DASHBOARD="Components_Privacy_Dashboard"
JHELP_COMPONENTS_PRIVACY_REQUEST="Components_Privacy_Request"
JHELP_COMPONENTS_PRIVACY_REQUEST_EDIT="Components_Privacy_Request_Edit"
JHELP_COMPONENTS_PRIVACY_REQUESTS="Components_Privacy_Requests"
JHELP_COMPONENTS_REDIRECT_MANAGER_EDIT="Components_Redirect_Manager_Edit"
JHELP_COMPONENTS_REDIRECT_MANAGER="Components_Redirect_Manager"
JHELP_COMPONENTS_SEARCH="Components_Search"
Expand Down

0 comments on commit d9980e7

Please sign in to comment.