django-cms / djangocms-versioning

General purpose versioning package for Django CMS 4 and above.
Other
34 stars 30 forks source link

Adds a "view published" button to the actions of a published piece of content #267

Closed marksweb closed 2 years ago

marksweb commented 2 years ago

The only link to a piece of content is the link to the admin preview. There's no obvious or easy way to access the URL belonging to the published version. So this adds an action button to the frontend URL.

I've used the eye icon for this as it seemed most appropriate.

Screenshot 2022-04-13 at 20 46 52

codecov[bot] commented 2 years ago

Codecov Report

Merging #267 (11ed924) into master (c19d0d1) will decrease coverage by 0.11%. The diff coverage is 77.77%.

@@            Coverage Diff             @@
##           master     #267      +/-   ##
==========================================
- Coverage   87.23%   87.12%   -0.12%     
==========================================
  Files          29       29              
  Lines        1528     1546      +18     
  Branches      247      249       +2     
==========================================
+ Hits         1333     1347      +14     
- Misses        140      143       +3     
- Partials       55       56       +1     
Impacted Files Coverage Δ
djangocms_versioning/admin.py 86.23% <77.77%> (-0.37%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update c19d0d1...11ed924. Read the comment docs.