Skip to content

Commit 838f6f7

Browse files
authored
Merge pull request #225 from CodeForAfrica/fix/ng-feedback_3_content-167565426
[NG] Address round 3 of feedback
2 parents 5870efa + 5d156e7 commit 838f6f7

File tree

14 files changed

+21
-28
lines changed

14 files changed

+21
-28
lines changed

hurumap_ng/profiles.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,28 +39,28 @@ def get_profile(geo, profile_name, request):
3939

4040
tabs = []
4141
if not data['demographics'].get('is_missing'):
42-
tabs.append({'name': 'Demographics', 'href': '#demographics'})
42+
tabs.append({'name': 'Demographics', 'href': '#demographics', 'class': 'fa fa-user'})
4343

4444
if not data['health'].get('is_missing'):
45-
tabs.append({'name': 'Health', 'href': '#health'})
45+
tabs.append({'name': 'Health', 'href': '#health', 'class': 'fa fa-medkit'})
4646

4747
if not data['education'].get('is_missing'):
48-
tabs.append({'name': 'Education', 'href': '#education'})
48+
tabs.append({'name': 'Education', 'href': '#education', 'class': 'fa fa-graduation-cap'})
4949

5050
if not data['agriculture'].get('is_missing'):
51-
tabs.append({'name': 'Agriculture', 'href': '#agriculture'})
51+
tabs.append({'name': 'Agriculture', 'href': '#agriculture', 'class': 'fa fa-tree'})
5252

5353
if not data['crime'].get('is_missing'):
54-
tabs.append({'name': 'Corruption & Crime', 'href': '#crime'})
54+
tabs.append({'name': 'Corruption & Crime', 'href': '#crime', 'class': 'fa fa-shield'})
5555

5656
if not data['drugs'].get('is_missing'):
57-
tabs.append({'name': 'Drugs', 'href': '#drugs'})
57+
tabs.append({'name': 'Drugs', 'href': '#drugs', 'class': 'fa fa-ban'})
5858

5959
if not data['finance'].get('is_missing'):
60-
tabs.append({'name': 'Finances', 'href': '#finance'})
60+
tabs.append({'name': 'Finances', 'href': '#finance', 'class': 'fa fa-money'})
6161

6262
if not data['others'].get('is_missing'):
63-
tabs.append({'name': 'Others', 'href': '#others'})
63+
tabs.append({'name': 'Others', 'href': '#others', 'class': 'fa fa-folder'})
6464

6565
data['tabs'] = tabs
6666
return data

hurumap_ng/settings.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,21 +71,21 @@
7171
"author": "NAN",
7272
"brief": "The National Bureau of Statistics (NBS), said the average price of some selected food items in the country increased in April.",
7373
"link": "//guardian.ng/news/prices-of-food-stuff-increases-in-april-nbs",
74-
"img": STATIC_URL + "img/showcase/nbs.png",
74+
"img": STATIC_URL + "img/showcase/story-foodstuff-prices-2.jpg",
7575
},
7676
{
7777
"title": "Price of cooking gas drops in April — NBS",
7878
"author": "News Agency Of Nigeria",
7979
"brief": "The National Bureau of Statistics (NBS), said the average cost of refilling a five kilogramme (kg) cylinder of Liquefied Petroleum Gas (Cooking Gas) dropped to N2,046.53 in April from N2,064.45 recorded in March.",
8080
"link": "//www.pulse.ng/news/local/price-of-cooking-gas-drops-in-april-nbs/vtn2mf3",
81-
"img": STATIC_URL + "img/showcase/gas.jpg",
81+
"img": STATIC_URL + "img/showcase/story-cooking-gas-2.jpg",
8282
},
8383
{
8484
"title": "Nigeria’s GDP Increases as Non-oil Sector Grows by 0.41%",
8585
"author": "The Eagle Online",
8686
"brief": "The National Bureau of Statistics said Nigeria’s Gross Domestic Product recorded a positive growth as the non-oil sector grew in real terms by 0.41 per cent in first quarter of 2019.",
8787
"link": "//nipc.gov.ng/2019/05/22/nigerias-gdp-increases-as-non-oil-sector-grows-by-0-41/",
88-
"img": STATIC_URL + "img/showcase/nbs.png",
88+
"img": STATIC_URL + "img/showcase/story-nigeria-gdp.jpg",
8989
},
9090
]
9191

hurumap_ng/static/img/logo-white.png

-34.1 KB
Loading

hurumap_ng/static/img/logos/brown.png

6.41 KB
Loading
73.9 KB
Loading

hurumap_ng/static/img/logos/nbs.png

58.4 KB
Loading
-93.1 KB
Binary file not shown.
-135 KB
Binary file not shown.
631 KB
Loading
2.91 MB
Loading

0 commit comments

Comments
 (0)