-
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
Add rendering of Field of operation pages #2736
Conversation
class FieldOfOperationPresenter < ContentItemPresenter | ||
include ContentItem::TitleAndContext | ||
|
||
FatalityNotice = Struct.new(:roll_call_introduction, :casualties, :title, :base_path) |
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.
nice :-)
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.
Nice, looks generally good to me, a few suggestions / comments below
910c5df
to
2060dd1
Compare
2060dd1
to
f2c564a
Compare
f2c564a
to
1c11f35
Compare
1c11f35
to
1af1efa
Compare
1af1efa
to
72fb9e7
Compare
72fb9e7
to
1dab2b1
Compare
This is part of some longstanding work to remove rendering from whitehall It required me to add some i18n, unfortunately running the task to add missing locales also fixed some speech marks that were off the wrong type for the generation. Sorry for the extra noise!
This adds the i18n from whitehall that's used if a field of operation page has no attached fatlity notice.
1dab2b1
to
e782200
Compare
@BeckaL have fixed this with |
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.
Fab, looks good to me, happy for this to go to F&V
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.
Looks good to me ⭐
@JonathanHallam which is the example page from https://government-frontend-pr-2736.herokuapp.com/ ? |
@chao-xian https://government-frontend-pr-2736.herokuapp.com/government/fields-of-operation/iraq Which reminds me that there's the examples in the readme for this app, I'll add a commit to add it there |
This is part of ongoing work to stop Whitehall from rendering anything
Whitehall
Government Frontend
Trello - https://trello.com/c/alzDKosv/472-add-rendering-of-field-of-operation-pages-to-government-frontend
Follow these steps if you are doing a Rails upgrade.