mysociety / derechoapreguntar-theme

The Alaveteli theme for Derecho a Preguntar (Nicaragua)
https://derechoapreguntar.org/
Other
0 stars 3 forks source link

Add Identity Card Number to User #5

Closed garethrees closed 10 years ago

garethrees commented 10 years ago

Fixes https://github.com/mysociety/alaveteli/issues/1700

Adds the id_number identity_card_number attribute and makes it available for the user to edit and see.

Need to add censor rules and include it in the initial request email.

Example of redaction:

screen shot 2014-09-03 at 12 29 40

garethrees commented 10 years ago

Wonder if we should validate uniqueness of identity_card_number?

garethrees commented 10 years ago

Should we show the identity_card_number in the preview?

screen shot 2014-09-03 at 12 08 24

garethrees commented 10 years ago

https://github.com/mysociety/alaveteli/blob/rails-3-develop/app/controllers/admin_request_controller.rb#L178-L194 breaks as we now need ID number

crowbot commented 10 years ago

Once this PR is stable, we should regenerate the theme locale files as it introduces new strings for translation.