-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
#8565: Delete and Unpublish buttons in backoffice content edit #8566
Open
AndreaPiovanelli
wants to merge
15
commits into
OrchardCMS:1.10.x
Choose a base branch
from
LaserSrl:8565_DeleteUnpublishButtons
base: 1.10.x
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
7721655
Added publish and delete buttons to backoffice content edit.
AndreaPiovanelli b5e5430
Corrected condition for content unpublishing.
AndreaPiovanelli 7da93e4
Some little code refactoring
AndreaPiovanelli a6d8f46
Added css classes for unpublish-button.
AndreaPiovanelli 10ce4fa
Removed UnpublishButton from Widget Editor.
AndreaPiovanelli 67cdc3a
Removed Widget_DeleteButton to use the generic Content_DeleteButton s…
AndreaPiovanelli e16b84e
Removed Widget_UnpublishButton shape
AndreaPiovanelli 644fc21
Removed unpublish button show/hide logic from driver.
AndreaPiovanelli 72d2a23
EOL fix to Orchard.Widgets.csproj.
AndreaPiovanelli af22105
Added unpublish button to edit widget (shown if widget is draftable o…
AndreaPiovanelli b884b99
Hide Content edit delete button at frontend
AgostiniAlessandro ee42f43
ContentsDriver: removed AdminFilter check to display delete button an…
AndreaPiovanelli 18a7f37
Applied some of the proposed formatting changes
MatteoPiovanelli f0155c2
Several refactoring operations
AndreaPiovanelli 000700f
Merge remote-tracking branch 'remotes/origin/1.10.x' into 8565_Delete…
AndreaPiovanelli File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some little code refactoring
- Loading branch information
commit 7da93e41d85d22e84ae6662187a23221c02a7b66
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please use remove and sort usings and auto-formatting. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Why is this different that the other unpublish/delete actions?
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 added delete and unpublish actions referencing specific submits to the controller. There already were unpublish and delete actions (the ones called from the lists), so I called those inside the new actions, specific to the edit form.