Closed fsbraun closed 1 year ago
Merging #317 (212dacf) into master (65f6da9) will increase coverage by
0.05%
. The diff coverage is100.00%
.
@@ Coverage Diff @@
## master #317 +/- ##
==========================================
+ Coverage 89.91% 89.96% +0.05%
==========================================
Files 68 68
Lines 2251 2253 +2
Branches 300 300
==========================================
+ Hits 2024 2027 +3
+ Misses 172 171 -1
Partials 55 55
Impacted Files | Coverage Δ | |
---|---|---|
djangocms_versioning/admin.py | 88.76% <ø> (ø) |
|
djangocms_versioning/cms_config.py | 80.59% <ø> (+0.30%) |
:arrow_up: |
djangocms_versioning/helpers.py | 91.11% <ø> (ø) |
|
djangocms_versioning/indicators.py | 80.00% <ø> (ø) |
|
djangocms_versioning/cms_toolbars.py | 95.95% <100.00%> (+0.09%) |
:arrow_up: |
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.
Description
Ajax error message in page tree
Since django CMS 4.1.0rc1 the page tree shows error messages returned by ajax post requests such as toggling navigation status of a page content object.
No additional message needs not to be sent to the front end. It only results in the error message shown again after a reload.
Edit button renamed to "New Draft" if the action creates a new draft (as opposed to go into editing mode of an existing draft)
To avoid accidental creation of many draft objects by clicking the Edit button in the toolbar this PR renames the Edit button to "New Draft" if by clicking it a new draft will be created.![image](https://user-images.githubusercontent.com/16904477/216721829-67e8a4ef-e728-4bc2-8f69-78f6da3ffbbd.png)
Menu item "Discard changes" in versioning menu
This replaces v3's "Revert to published" function by calling the discard view (without the need of going through "Manage versions")![image](https://user-images.githubusercontent.com/16904477/216721890-97d2ff00-1228-414c-8c26-4b2a2d4d0da6.png)
Replace deprecated icons
cms-icon-copy
->cms-icon-manage-version
cms-icon-layers
->cms-icon-compare
cms.icons.css
resourceRelated resources
Checklist
master