-
Notifications
You must be signed in to change notification settings - Fork 17
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
Remove web_isbn and print_meta_data_contact_address #1649
Conversation
4999755
to
c11927a
Compare
c11927a
to
f7d1fa4
Compare
Trello - https://trello.com/c/w5dsqKuc/1381-remove-redundant-fields-for-whitehall-attachments-org-contact-and-web-isbn These file types are redundant and should be removed. They are no longer being sent to the publishing api by whitehall
f7d1fa4
to
04448ad
Compare
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.
👍
Any enquiries regarding this publication should be sent to us at:<br/> | ||
</p> | ||
<%= simple_format(@content_item.print_meta_data_contact_address) %> | ||
<% end %> | ||
|
||
<% unless @content_item.isbn.blank? %> | ||
<p> | ||
Print ISBN: <%= @content_item.isbn %> |
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.
It would make sense to remove Print
here, although that would be a user-facing change. Perhaps raise in a separate PR, as it's confusing to see it used without context of knowing there used to be another ISBN.
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.
Yeah, good point, I'll raise a separate one after this :)
Following #1649 Web ISBN has been removed. This left us with "Print ISBN" which sounds a bit odd if there are no other ISBN's. This renames "Print ISBN" to make things a bit clearer.
Trello - https://trello.com/c/w5dsqKuc/1381-remove-redundant-fields-for-whitehall-attachments-org-contact-and-web-isbn
These file types are redundant and should be removed. They are no longer being sent to the publishing api by whitehall
These fields are also being removed from govuk content schemas and whitehall
whitehall - alphagov/whitehall#5333
content schemas - alphagov/govuk-content-schemas#958
Visual regression results:
https://government-frontend-pr-[THIS PR NUMBER].surge.sh/gallery.html