Commit graph

135 commits

Author SHA1 Message Date
Eric Schultz
0ad9181533 If a campaign is done, P2P campaign link is for the nonprofit, not the campaign 2018-11-21 17:23:25 -06:00
Eric Schultz
3c88cce5cd remove unneeded before_filter 2018-11-21 14:47:20 -06:00
Eric Schultz
e93149d117 Remove redundant "start a new campaign for nonprofit" button on campaign page 2018-11-21 13:49:15 -06:00
Eric Schultz
8a9f212e9a Remove redudant campaign_template related code 2018-11-21 13:48:13 -06:00
Eric Schultz
f75ffcf09d Fix bug where campaign activites weren't properly found 2018-11-21 13:47:27 -06:00
Eric Schultz
bad7d5ba79 Add language explaining how to reload the P2P creation page if you haven't confirmed as user yet 2018-11-21 13:00:40 -06:00
Eric Schultz
d61a80d92c A P2P page with an nonprofit already set doesn't allow you to change the np on the page 2018-11-21 12:49:24 -06:00
Eric Schultz
1bb26cebbf Remove unused stylesheet 2018-11-21 11:21:06 -06:00
Eric Schultz
216cefaa98 Remove straggling reference to campaign_templates 2018-11-21 11:00:45 -06:00
Eric Schultz
ab773ee48f Campaign metrics on campaign listing page now include child campaign metrics 2018-11-21 11:00:45 -06:00
Eric Schultz
478825a47a Improve formatting of p2p campaigns 2018-11-21 11:00:45 -06:00
Eric Schultz
1c1e62d091 Fix bug where old p2p method of getting there by npo doesn't work 2018-11-21 11:00:45 -06:00
Eric Schultz
cc225ba6fd WIP 2018-11-21 11:00:45 -06:00
Eric Schultz
87dc491ef4 remove last of campaign template features 2018-11-21 11:00:45 -06:00
Eric Schultz
a79a508ff0 Remove CampaignTemplate model 2018-11-21 11:00:45 -06:00
Eric Schultz
f255d6e3ec Simplify the child_campaign? code 2018-11-21 11:00:45 -06:00
Eric Schultz
64db067e2c Fix lack of styling of campaign banners and properly clips images 2018-11-21 11:00:45 -06:00
Eric Schultz
a3795b6601 remove profile image 2018-11-21 11:00:45 -06:00
Eric Schultz
293fa1d63a WIP 2018-11-21 11:00:45 -06:00
Eric Schultz
4dddccdf46 Create from template campaigns handles name collisions 2018-11-21 11:00:45 -06:00
Eric Schultz
e378434b30 Add in create_from_template call 2018-11-21 11:00:44 -06:00
Eric Schultz
9db02dd409 Fix missing tag 2018-11-21 11:00:44 -06:00
Eric Schultz
e2805abb96 Fix some merge issues 2018-11-21 11:00:44 -06:00
Eric Schultz
55171efbc4 Add missing license headers 2018-11-21 11:00:44 -06:00
Eric Schultz
7d1424e22c Fix typo in Campaign Template Controller 2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
341d7511d2 Limit editing of child campaigns 2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
e5419408ce Fix removing banner image, refactor 2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
c713ef343b Let's load uploadBannerImage modal in settings! 2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
77a59b0037 Fix peer-to-peer action 2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
d17c54b538 Refactor, specs for creating p2p campaign 2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
1944d689cd wip-fix copying images 2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
ff484bf106 Remove unused method 2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
6b94b10979 Don't allow to create more than one child campaign per user 2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
aaddc721bf Show banner on p2p create page, too 2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
539d8f472a Peer-to-peer editors can only edit goal amount 2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
0a5d78b7f4 Remove custom ERB file, add campaigner profile and p2p button to campaign page 2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
e948b0ce45 Fix showing default reason in p2p creation form 2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
3167a53da8 Style banner uploading, show banner for all campaings 2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
e1287683f5 Better slugs for campaigns 2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
79427774e5 Allow setting banner on campaing 2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
dcb4a37585 Add banner to campaigns 2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
9d20974abd wip 2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
546b37f098 Clean up templates, fix main image upload 2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
a5bc158628 Show only templates belonging to current nonprofit 2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
aedb12ee03 Create campaign from template 2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
2db5e72bcb Add a confirm dialog when deleting templates 2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
bb0bebe8f7 Fix loading avatar image 2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
d888be0242 Campaign template create, delete 2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
abd5fbe63e WIP use s3 without region 2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
02868b5e17 WIP no, seriously fix the bucket address bug 2018-11-21 11:00:44 -06:00