Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Ltd 5653 desnz multiple licence conditions #2243
Ltd 5653 desnz multiple licence conditions #2243
Changes from all commits
2976b3c
f398e4c
3472d48
b82c3a9
f60aecc
915e82e
2c2eada
5b68811
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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 ideas what this is for? I realise this is from old code but it seems a bit nuts
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.
this is just for formatting, it needs gets because the keys now won't exist if the steps have been skipped where previously they were present but empty strings.
in the next iteration I'd like to update this section, the refuse and the getting of advice so that we don't advice = my_advice[0] every time.
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.
I meant the field in general -
footnote
andfootnote_required
seems oddThere 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.
@currycoder @Tllew this is because these fields were already existing in the data model and Advice updated to work with them.
Footnote is an optional text box, initially UCD wanted to include a checkbox and when checked it reveals the textbox but that is too many clicks so it was decided to show the textbox by default and if there is any data then we set
footnote_required
accordingly.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.
advice_tags
is being loaded twice and I can't see wherestatic
is being used.