Skip to content

Releases: ministryofjustice/hale

Hover underline for social widgets

12 Mar 13:28
19b6f6e
Compare
Choose a tag to compare

Adds a missing colour to the CSS file - hover underline for social widgets. Using the link colour so no new colour setting needed.

Fixed the publish date control for documents

12 Mar 11:24
1387e0b
Compare
Choose a tag to compare

Fixed the publish date control for documents

Authorise iFrame block

11 Mar 11:30
5b829bf
Compare
Choose a tag to compare

Authorize iFrame block

Full-width/shaded headings

10 Mar 13:34
3157b7e
Compare
Choose a tag to compare

Added an option to move the heading to the very top of the page and give it a shade for CPTs

Bug Fix - Revision Date

06 Mar 10:49
7bc226d
Compare
Choose a tag to compare

Fixed revision date field showing in editor when not activated

Bug fixes

27 Feb 13:34
3532b30
Compare
Choose a tag to compare

Bug fixes:

  • Print-only copyright info displayed on screen. Code corrected.
  • Colour check for users without permissions to access colour values was causing a fatal error. Check removed (😭).

Revision Date and CPT restricted blocks

26 Feb 15:02
96a5a59
Compare
Choose a tag to compare

Adds functionality so that the editors can display a manual revision date rather then the default updated date
When creating CPT you can now restrict the blocks that an editor can use in the content.

Printing styles and PHP errors

26 Feb 12:18
b674f48
Compare
Choose a tag to compare

Printing

  • Overrides the WordPress custom background and font colour settings, to always be black and white - with a coloured border replacing a coloured background.
  • We retain the colour - unlike GDS who replace with black.
  • However, greyscale colours are subtly changed to be printer friendly.
  • Removed ugly grey bar from the foot of the footer.

PHP errors (bug fix)

Errors were being thrown when creating the table of contents. After reading up about the errors online, it seems that the answer is to ignore them. This PR suppresses the errors in this particular area of code, which seems to otherwise be working.

The information online is from here.

Printing styles and Crest fix

25 Feb 16:38
c16b416
Compare
Choose a tag to compare

Printing styles

Headers and footers

  • all navigation/search boxes are removed when printed
  • all content in footer removed when printed, except copyright and OGL statements
    • OGL, if present, has extra information copied from GOV.UK example
  • new printer friendly-logo is now available to upload
    • only available if existing header background is not already white
    • if not selected, the old logo will use the header background colour but only for the logo
  • header and footer backgrounds are always white when printed

Table fo contents

  • Moves the table of contents over to a new page when printing
  • Creates a copyright page if:
    • There is the OGL declaration, or
    • It is crown copyright
  • Reduces the printed footer to a one-liner, like other government sites
  • Removed all banners from printing
  • Fixes a non-crown copyright footer bug where images are actual size in the footer (CSS max-height).

Crest fix

  • The royal crest is now the correct colour on GDS styled sites

Corrected font size for table of contents

24 Feb 21:08
539e2d7
Compare
Choose a tag to compare