Skip to content
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

Make links to sign a petition easily accessible on the form. #23316

Merged
merged 1 commit into from
Apr 28, 2022

Conversation

jmcclelland
Copy link
Contributor

Overview

Add links to the bottom of the petition edit form so users can more easily publicize their petition.

Before

Before, users can find the signature link by clicking on the "..." menu on the list of petitions and clicking the "Sign" option and then copying the URL from the browser location bar. Very easy for experienced Internet folks, but impossibly complicated for people who don't know what an URL is.

Here's what the bottom of the edit petition form looks like prior to the change:
link-before

After

When editing an existing petition, the links now appear in a way that is easy to copy and paste. Additionally, we provide the link you can insert into a CiviMail message to have the profile pre-populated.

link-after

Technical Details

The code is very simple and completely lives in the template.

@civibot
Copy link

civibot bot commented Apr 27, 2022

(Standard links)

@mattwire
Copy link
Contributor

I can't see any problem with this and if it makes things easier for the end user... merge on pass

@seamuslee001 seamuslee001 merged commit 16649c7 into civicrm:master Apr 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants