-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix batch #57
Fix batch #57
Conversation
…orkflow-v3-transitions
…orkflow-v3-content # Conflicts: # administrator/components/com_content/src/Model/ArticleModel.php
…orkflow-v3-content # Conflicts: # administrator/components/com_content/src/View/Featured/HtmlView.php # administrator/components/com_content/tmpl/articles/default.php
…orkflow-v3-content # Conflicts: # administrator/components/com_content/src/Model/ArticleModel.php # administrator/components/com_content/tmpl/articles/default.php # administrator/components/com_content/tmpl/featured/default.php # libraries/src/Workflow/Workflow.php
$user = Factory::getApplication()->getIdentity(); | ||
/** @var $workflow */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't there be the class name?
@@ -42,7 +45,7 @@ | |||
<?php echo LayoutHelper::render('joomla.html.batch.tag', []); ?> | |||
</div> | |||
</div> | |||
<?php if ($user->authorise('core.admin', 'com_content')) : ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that's the wrong approach, you should ask the service if the workflow is enabled for this view. Also as example for other developer
Pull Request for Issue # .
Summary of Changes
Testing Instructions
Expected result
Actual result
Documentation Changes Required