From e941872176bf95e1d9ef177ad46db0d8a0f2fda5 Mon Sep 17 00:00:00 2001 From: Quincy Larson Date: Mon, 25 May 2015 17:27:56 -0700 Subject: [PATCH] improvements to nonprofit directory view --- .../challenges/jquery-ajax-and-json.json | 10 ++++---- views/nonprofits/directory.jade | 25 +++++++++---------- 2 files changed, 17 insertions(+), 18 deletions(-) diff --git a/seed_data/challenges/jquery-ajax-and-json.json b/seed_data/challenges/jquery-ajax-and-json.json index a68fa144bc..d54806400e 100644 --- a/seed_data/challenges/jquery-ajax-and-json.json +++ b/seed_data/challenges/jquery-ajax-and-json.json @@ -4,7 +4,7 @@ "challenges": [ { "_id": "bd7112d8c441eddfaeb5bded", - "name": "Get Started with jQuery", + "name": "Waypoint: Get Started with jQuery", "difficulty": 0.13, "challengeSeed": "125671865", "description": [ @@ -19,7 +19,7 @@ }, { "_id": "bd7113d8c441eddfaeb5bdef", - "name": "Write Functions with jQuery", + "name": "Waypoint: Write Functions with jQuery", "difficulty": 0.14, "challengeSeed": "125658029", "description": [ @@ -33,7 +33,7 @@ }, { "_id": "bd7114d8c441eddfaeb5bdef", - "name": "Harness Dynamic HTML", + "name": "Waypoint: Harness Dynamic HTML", "difficulty": 0.15, "challengeSeed": "125658028", "description": [ @@ -46,7 +46,7 @@ }, { "_id": "bd7115d8c441eddfaeb5bdef", - "name": "Listen for jQuery Events", + "name": "Waypoint: Listen for jQuery Events", "difficulty": 0.16, "challengeSeed": "125658027", "description": [ @@ -59,7 +59,7 @@ }, { "_id": "bd7116d8c441eddfaeb5bdef", - "name": "Trigger jQuery Effects", + "name": "Waypoint: Trigger jQuery Effects", "difficulty": 0.17, "challengeSeed": "125658025", "description": [ diff --git a/views/nonprofits/directory.jade b/views/nonprofits/directory.jade index 8fb6d2c14b..61c5ff44ab 100644 --- a/views/nonprofits/directory.jade +++ b/views/nonprofits/directory.jade @@ -6,16 +6,15 @@ block content .panel.panel-info .panel-heading.text-center Nonprofits We Help .panel-body - .col-xs-12.col-md-8.col-md-offset-2 - .no-right-padding - for nonprofit in nonprofits - .spacer - .row - .col-xs-12.col-sm-3 - img.img-responsive.img-center(src=nonprofit.logoUrl) - .col-xs-12.col-sm-9 - h2.negative-15= nonprofit.name - h3.negative-15= nonprofit.whatDoesNonprofitDo - 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-12.col-md-10.col-md-offset-1 + for nonprofit in nonprofits + .spacer + .row + .col-xs-12.col-sm-3 + img.img-responsive.img-center(src=nonprofit.logoUrl) + .col-xs-12.col-sm-9 + h2.negative-15= nonprofit.name + h3.negative-15= nonprofit.whatDoesNonprofitDo + a.text-center.btn.btn-primary.btn-lg(href='/nonprofits/' + nonprofit.name.toLowerCase().replace(/\s/g, '-')) Read more + .spacer + .spacer