update nonprofit buttons to allow directory access from nonprofit landing page
This commit is contained in:
@ -16,5 +16,8 @@ block content
|
|||||||
h2.negative-15= nonprofit.name
|
h2.negative-15= nonprofit.name
|
||||||
h3.negative-15= nonprofit.whatDoesNonprofitDo
|
h3.negative-15= nonprofit.whatDoesNonprofitDo
|
||||||
a.text-center.btn.btn-primary.btn-lg(href='/nonprofits/' + nonprofit.name.toLowerCase().replace(/\s/g, '-')) Read more
|
a.text-center.btn.btn-primary.btn-lg(href='/nonprofits/' + nonprofit.name.toLowerCase().replace(/\s/g, '-')) Read more
|
||||||
.spacer
|
|
||||||
.spacer
|
.col-xs-12.col-sm-8.col-sm-offset-2
|
||||||
|
if (!user)
|
||||||
|
a.btn.btn-cta.signup-btn.btn-block(href="/nonprofits-form") My nonprofit needs coding help
|
||||||
|
.spacer
|
||||||
|
@ -55,20 +55,21 @@ block content
|
|||||||
for assignedCamper in assignedCampers
|
for assignedCamper in assignedCampers
|
||||||
a(href='/' + assignedCamper.username class="interested-camper-image")
|
a(href='/' + assignedCamper.username class="interested-camper-image")
|
||||||
img.profile-picture.float-right(src=assignedCamper.picture)
|
img.profile-picture.float-right(src=assignedCamper.picture)
|
||||||
.spacer
|
|
||||||
if (!buttonActive)
|
if (!buttonActive)
|
||||||
.col-xs-12.col-sm-8.col-sm-offset-2
|
.col-xs-12.col-sm-8.col-sm-offset-2
|
||||||
.text-center
|
.text-center
|
||||||
a.btn.btn-primary.btn-big.btn-block.disabled(href='/nonprofits/interested-in-nonprofit/#{dashedName}') I'm interested in building this project *
|
if !user
|
||||||
p * Complete all our Bonfires, Ziplines, and Basejumps to unlock this.
|
a.btn.btn-cta.signup-btn.btn-block(href="/login") Start learning to code (it's free)
|
||||||
|
.button-spacer
|
||||||
|
else
|
||||||
|
a.btn.btn-primary.btn-big.btn-block.disabled(href='/nonprofits/interested-in-nonprofit/#{dashedName}') I'm interested in building this project *
|
||||||
|
p * Complete all our Bonfires, Ziplines, and Basejumps to unlock this.
|
||||||
a.btn.btn-info.btn-big.btn-block(href='/nonprofits/directory') Show all Nonprofit Projects
|
a.btn.btn-info.btn-big.btn-block(href='/nonprofits/directory') Show all Nonprofit Projects
|
||||||
|
.spacer
|
||||||
if (buttonActive)
|
if (buttonActive)
|
||||||
.col-xs-12.col-sm-8.col-sm-offset-2
|
.col-xs-12.col-sm-8.col-sm-offset-2
|
||||||
.text-center
|
.text-center
|
||||||
a.btn.btn-primary.btn-big.btn-block(href='/nonprofits/interested-in-nonprofit/#{dashedName}') I'm interested in building this project
|
a.btn.btn-primary.btn-big.btn-block(href='/nonprofits/interested-in-nonprofit/#{dashedName}') I'm interested in building this project
|
||||||
|
.button-spacer
|
||||||
a.btn.btn-info.btn-big.btn-block(href='/nonprofits/directory') Show all Nonprofit Projects
|
a.btn.btn-info.btn-big.btn-block(href='/nonprofits/directory') Show all Nonprofit Projects
|
||||||
.row
|
.spacer
|
||||||
.col-xs-12.text-center
|
|
||||||
if !user
|
|
||||||
a.btn.btn-cta.signup-btn.btn-primary(href="/login") Start learning to code (it's free)
|
|
||||||
.spacer
|
|
||||||
|
@ -53,4 +53,5 @@ block content
|
|||||||
h2.black-text ...and other tools
|
h2.black-text ...and other tools
|
||||||
.big-break
|
.big-break
|
||||||
a.btn.btn-cta.signup-btn.btn-block(href="/nonprofits-form") My nonprofit needs coding help
|
a.btn.btn-cta.signup-btn.btn-block(href="/nonprofits-form") My nonprofit needs coding help
|
||||||
.btn-spacer
|
.button-spacer
|
||||||
|
a.btn.btn-cta.btn-success.btn-block(href="/nonprofits/directory") Browse our directory of nonprofit we've helped
|
||||||
|
Reference in New Issue
Block a user