Skip to content
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

Merged
merged 10 commits into from
Apr 21, 2020
Merged

Fix batch #57

merged 10 commits into from
Apr 21, 2020

Conversation

bembelimen
Copy link
Owner

Pull Request for Issue # .

Summary of Changes

Testing Instructions

Expected result

Actual result

Documentation Changes Required

bembelimen and others added 10 commits March 14, 2020 17:36
…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
@bembelimen bembelimen merged commit be6b633 into workflow-v3 Apr 21, 2020
@bembelimen bembelimen deleted the workflow-v3-content branch April 21, 2020 00:29
$user = Factory::getApplication()->getIdentity();
/** @var $workflow */

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')) : ?>

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants