Add read-only test question preview
This commit is contained in:
@@ -41,6 +41,7 @@ class HtmlView extends BaseHtmlView
|
||||
}
|
||||
if ($user->authorise('core.edit', 'com_testquestions')) {
|
||||
ToolbarHelper::editList('question.edit', 'JTOOLBAR_EDIT');
|
||||
ToolbarHelper::custom('questions.preview', 'eye', 'eye', 'COM_TESTQUESTIONS_PREVIEW_SELECTED', true);
|
||||
}
|
||||
if ($user->authorise('core.delete', 'com_testquestions')) {
|
||||
ToolbarHelper::deleteList('', 'questions.delete', 'JTOOLBAR_DELETE');
|
||||
|
||||
Reference in New Issue
Block a user