-
Notifications
You must be signed in to change notification settings - Fork 30
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat/party pages descriptions #1566
Conversation
8c62ad8
to
18ab1eb
Compare
@@ -57,6 +57,13 @@ <h2>{{ object.format_name }}</h2> | |||
{% endif %} | |||
</div> | |||
{% endif %} | |||
|
|||
{% if object.register %} | |||
{% blocktrans with register=object.format_register %} |
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.
if you add trimmed
to this block then the the translation file isn't going to contain the newliens and it will make things a little cleaner. Not a huge deal, but it does reduce the noise in diffs when we make changes in future.
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've added trimmed
now and fixed up :)
eacc8cf
to
969ce5b
Compare
This is wrapped inside a logic block so the section will not be shown if there are no descriptions in our DB. Also added ordering to the PartyDescription objects.
- Details whether party registered in GB or NI
969ce5b
to
6dc1d10
Compare
Next phase of the Party Pages overhaul - now featuring more useful data for voters! Trello.
Ref #1200
This update adds:
Screenshots
To test locally:
Part 1
import_parties
party:52
)Part 2
party:52
works here too)Part 3
party:51
- very convenient)Tasks