diff --git a/mainapp/templates/mainapp/relief_camps_list.html b/mainapp/templates/mainapp/relief_camps_list.html index ecbe78307..0c58981e8 100644 --- a/mainapp/templates/mainapp/relief_camps_list.html +++ b/mainapp/templates/mainapp/relief_camps_list.html @@ -35,6 +35,9 @@

Select District to see Relief Camps

Map Address Contact Numbers + Males + Females + Infants Total People {% for item in data %} @@ -54,7 +57,20 @@

Select District to see Relief Camps

{{ item.contacts | linebreaks }} - {{ item.total_people }} + {{ item.total_males }} + + + {{ item.total_females }} + + + {{ item.total_infants }} + + + {% if item.total_males and item.total_females %} + {{ item.total_males|add:item.total_females|add:item.total_infants }} + {% else %} + {{ item.total_people }} + {% endif %} {% endfor %}