0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00

Page status sidebar - add support for actual published date date in tooltip

Fixes #10789
This commit is contained in:
rohitsrma 2023-09-09 10:57:05 +00:00 committed by LB (Ben Johnston)
parent 0a977cc54d
commit 451c21ea52
3 changed files with 3 additions and 1 deletions

View File

@ -23,6 +23,7 @@ Changelog
* Add `linked_fields` mechanism on chooser widgets to allow choices to be limited by fields on the calling page (Matt Westcott)
* Add support for merging cells within `TableBlock` with the `mergedCells` option (Gareth Palmer)
* When adding a panel within `InlinePanel`, focus will now shift to that content similar to `StreamField` (Faishal Manzar)
* Show the full first published at date within a tooltip on the Page status sidebar on the relative date (Rohit Sharma)
* Fix: Ensure that StreamField's `FieldBlock`s correctly set the `required` and `aria-describedby` attributes (Storm Heg)
* Fix: Avoid an error when the moderation panel (admin dashboard) contains both snippets and private pages (Matt Westcott)
* Fix: When deleting collections, ensure the collection name is correctly shown in the success message (LB (Ben) Johnston)

View File

@ -33,6 +33,7 @@ depth: 1
* Add `linked_fields` mechanism on chooser widgets to allow choices to be limited by fields on the calling page (Matt Westcott)
* Add support for merging cells within `TableBlock` with the [`mergedCells` option](table_block_options) (Gareth Palmer)
* When adding a panel within `InlinePanel`, focus will now shift to that content similar to `StreamField` (Faishal Manzar)
* Show the full first published at date within a tooltip on the Page status sidebar on the relative date (Rohit Sharma)
### Bug fixes

View File

@ -16,7 +16,7 @@
</div>
{% if object.first_published_at %}
<div class="w-help-text">
{% trans 'First published ' %}{% timesince_last_update object.first_published_at use_shorthand=True %}
{% trans 'First published' %} {% human_readable_date object.first_published_at position="bottom" %}
</div>
{% endif %}
</div>