#104 Update fedora_elections/elections.py
Closed by ryanlerch. Opened by ilikelinux.
ilikelinux/elections develop  into  develop

Download 104.patch

Replaced CLA with FPCA.
Also added a link to the first message, which should bring the user to the right place to agree to the FPCA.
However I do not know if this is an issue using $USERNAME to indicate the alias substitution?
Also not enough experience with flask.flash If we could use
to make a two line Error Message?

forgot to resend the pull request

Fixes: #102

         flask.flash("You need to be in one other group than FPCA to vote", "error")

I'm not sure about $USERNAME either. I do see many examples where people suggest constructing the message on the server. So maybe something like this will work?

+             flask.flash("You must sign the FPCA to vote (https://accounts.fedoraproject.org/user/{0}/settings/agreements/)".format(flask.g.fas_user.username), "error")

Elections have been migrated to https://forge.fedoraproject.org/apps/elections

Pull-Request has been closed by ryanlerch

Metadata