2015-03-30 18:02:50 -07:00
|
|
|
|
extends ../layout
|
|
|
|
|
|
block content
|
|
|
|
|
|
script.
|
|
|
|
|
|
var challengeName = 'Nonprofits View';
|
|
|
|
|
|
.col-xs-12.col-sm-12.col-md-12
|
|
|
|
|
|
.panel.panel-info
|
2015-04-08 14:36:05 -07:00
|
|
|
|
.panel-heading.text-center= title
|
2015-03-30 18:02:50 -07:00
|
|
|
|
.panel-body
|
2015-04-01 22:31:08 -07:00
|
|
|
|
.row
|
|
|
|
|
|
.col-xs-12.col-sm-10.col-sm-offset-1
|
|
|
|
|
|
.row
|
|
|
|
|
|
.col-xs-12
|
|
|
|
|
|
img.img-center.img-responsive(src=imageUrl)
|
|
|
|
|
|
.spacer
|
|
|
|
|
|
.row
|
|
|
|
|
|
.col-xs-12.col-sm-4
|
|
|
|
|
|
img.img-responsive(src=logoUrl)
|
|
|
|
|
|
.col-xs-12.col-sm-8
|
|
|
|
|
|
.col-xs-12
|
|
|
|
|
|
h4= whatDoesNonprofitDo
|
|
|
|
|
|
h4
|
|
|
|
|
|
a(href=websiteLink)= websiteLink
|
2015-04-02 17:23:45 -07:00
|
|
|
|
.spacer
|
2015-04-01 22:31:08 -07:00
|
|
|
|
h3 Project Description:
|
|
|
|
|
|
.col-xs-12
|
2015-04-02 15:53:38 -07:00
|
|
|
|
h4.negative-15 #{projectDescription} (About #{estimatedHours} hours per camper)
|
2015-04-02 17:23:45 -07:00
|
|
|
|
.spacer
|
2015-04-01 22:31:08 -07:00
|
|
|
|
h3 This project involves building:
|
2015-04-02 17:23:45 -07:00
|
|
|
|
h4.negative-15.col-xs-12
|
2015-04-01 22:31:08 -07:00
|
|
|
|
if (approvedWebsite)
|
|
|
|
|
|
.ion-android-globe Website
|
|
|
|
|
|
if (approvedDonor)
|
|
|
|
|
|
.ion-card Donor Management System
|
|
|
|
|
|
if (approvedInventory)
|
|
|
|
|
|
.ion-ios-box Inventory Management System
|
|
|
|
|
|
if (approvedVolunteer)
|
|
|
|
|
|
.ion-android-calendar Volunteer Management System
|
|
|
|
|
|
if (approvedForm)
|
|
|
|
|
|
.ion-ios-list Webform
|
|
|
|
|
|
if (approvedCommunity)
|
|
|
|
|
|
.ion-ios-people Community Management System
|
|
|
|
|
|
if (approvedELearning)
|
|
|
|
|
|
.ion-university E-learning Platform
|
|
|
|
|
|
if (approvedOther)
|
|
|
|
|
|
.ion-settings Other tools
|
2015-04-08 14:57:08 -07:00
|
|
|
|
h3 Project Status: #{currentStatus}
|
2015-04-02 17:23:45 -07:00
|
|
|
|
if (interestedCampers && interestedCampers.length > 0)
|
|
|
|
|
|
h3 Interested campers:
|
|
|
|
|
|
.col-xs-12.text-left
|
|
|
|
|
|
for interestedCamper in interestedCampers
|
|
|
|
|
|
a(href='/' + interestedCamper.username class="interested-camper-image")
|
|
|
|
|
|
img.profile-picture.float-right(src=interestedCamper.picture)
|
|
|
|
|
|
if (assignedCampers && assignedCampers.length > 0)
|
|
|
|
|
|
h3 Assigned campers:
|
|
|
|
|
|
.col-xs-12.text-left
|
|
|
|
|
|
for assignedCamper in assignedCampers
|
|
|
|
|
|
a(href='/' + assignedCamper.username class="interested-camper-image")
|
|
|
|
|
|
img.profile-picture.float-right(src=assignedCamper.picture)
|
2015-03-30 18:02:50 -07:00
|
|
|
|
.spacer
|
2015-04-02 17:23:45 -07:00
|
|
|
|
if (!buttonActive)
|
|
|
|
|
|
.col-xs-12.col-sm-8.col-sm-offset-2
|
|
|
|
|
|
.text-center
|
|
|
|
|
|
a.btn.btn-primary.btn-big.btn-block.disabled(href='/nonprofits/interested-in-nonprofit/#{dashedName}') I'm interested in building this project *
|
2015-04-08 14:57:08 -07:00
|
|
|
|
p * Complete all our Bonfires, Ziplines, and Basejumps to unlock this.
|
2015-04-02 17:23:45 -07:00
|
|
|
|
#showAllButton.btn.btn-info.btn-big.btn-block Show all Nonprofits Projects
|
|
|
|
|
|
if (buttonActive)
|
|
|
|
|
|
.col-xs-12.col-sm-8.col-sm-offset-2
|
|
|
|
|
|
.text-center
|
|
|
|
|
|
a.btn.btn-primary.btn-big.btn-block(href='/nonprofits/interested-in-nonprofit/#{dashedName}') I'm interested in building this project
|
|
|
|
|
|
#showAllButton.btn.btn-info.btn-big.btn-block Show all Nonprofits Projects
|
2015-03-30 18:02:50 -07:00
|
|
|
|
.row
|
|
|
|
|
|
.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
|
2015-04-05 18:37:58 -07:00
|
|
|
|
#show-all-dialog.modal(tabindex='-1')
|
2015-03-30 18:02:50 -07:00
|
|
|
|
.modal-dialog.animated.fadeInUp.fast-animation
|
|
|
|
|
|
.modal-content
|
|
|
|
|
|
.modal-header.all-list-header Nonprofit Projects
|
|
|
|
|
|
a.close.closing-x(href='#', data-dismiss='modal', aria-hidden='true') ×
|
|
|
|
|
|
.modal-body
|
|
|
|
|
|
include ../partials/nonprofits
|