Closed mtrythall closed 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.
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
.
So the backend logic is to add up to four totally random case studies (excluding the current one)?
Random based on similar tags, but always show four. If you don't have four with those tags, grab something else.
@SmileyChris Can you pull this into the case study detail page please? Then we can close it out.
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.