rapidpro / chpro-microsite

BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Case Study List #26

Closed mtrythall closed 6 years ago

mtrythall commented 6 years ago
screenshot 2018-03-21 16 07 55

This is found at the bottom of Case Studies. It does not need to be a reusable style. We just need to support the HTML/CSS for it and create the background theme.

mtrythall commented 6 years ago

I have a rough version of photo cards (called image cards currently) in the system. I'm trying to flesh that out today, but you can use that HTML for this.

sodevious commented 6 years ago

Backend note: @SmileyChris I did the markup for this on https://github.com/rapidpro/chpro-microsite/blob/14fa0fdd38694190d3fc3421af7ab0d4cec9991f/rh/templates/case_studies/case_study_list.html case_study_list.html, but it technically should live on case_study.html. The backend for that isn't supported yet. Seems like it should render possibly 4 random case studies from the tag that the current case study uses, ie Immunisation.

SmileyChris commented 6 years ago

So the backend logic is to add up to four totally random case studies (excluding the current one)?

mtrythall commented 6 years ago

Random based on similar tags, but always show four. If you don't have four with those tags, grab something else.

sodevious commented 6 years ago
screenshot 2018-03-28 15 44 47
mtrythall commented 6 years ago

@SmileyChris Can you pull this into the case study detail page please? Then we can close it out.