@@ -4,7 +4,7 @@ import projectMessages from './messages';
44import userDetailMessages from '../userDetail/messages' ;
55import { MappingIcon , HomeIcon , RoadIcon , EditIcon } from '../svgIcons' ;
66import { StatsCard } from '../statsCard' ;
7- import StatsTimestamp from '../statsTimestamp ' ;
7+ import StatsInfoFooter from '../statsInfoFooter ' ;
88
99export const EditsStats = ( { data } ) => {
1010 const { changesets, buildings, roads, edits } = data ;
@@ -18,30 +18,32 @@ export const EditsStats = ({ data }) => {
1818 < h3 className = "barlow-condensed ttu f3" >
1919 < FormattedMessage { ...projectMessages . edits } />
2020 </ h3 >
21- < StatsTimestamp messageType = "project" />
2221 </ div >
23- < div className = "db pb2 project-edit-stats" >
24- < StatsCard
25- field = { 'changesets' }
26- icon = { < MappingIcon className = { iconClass } style = { iconStyle } /> }
27- description = { < FormattedMessage { ...projectMessages . changesets } /> }
28- value = { changesets || 0 }
29- />
30- < StatsCard
31- icon = { < EditIcon className = { iconClass } style = { iconStyle } /> }
32- description = { < FormattedMessage { ...projectMessages . totalEdits } /> }
33- value = { edits || 0 }
34- />
35- < StatsCard
36- icon = { < HomeIcon className = { iconClass } style = { iconStyle } /> }
37- description = { < FormattedMessage { ...userDetailMessages . buildingsMapped } /> }
38- value = { buildings || 0 }
39- />
40- < StatsCard
41- icon = { < RoadIcon className = { iconClass } style = { iconStyle } /> }
42- description = { < FormattedMessage { ...userDetailMessages . roadMapped } /> }
43- value = { roads || 0 }
44- />
22+ < div >
23+ < StatsInfoFooter className = "mb4" />
24+ < div className = "db pb2 project-edit-stats" >
25+ < StatsCard
26+ field = { 'changesets' }
27+ icon = { < MappingIcon className = { iconClass } style = { iconStyle } /> }
28+ description = { < FormattedMessage { ...projectMessages . changesets } /> }
29+ value = { changesets || 0 }
30+ />
31+ < StatsCard
32+ icon = { < EditIcon className = { iconClass } style = { iconStyle } /> }
33+ description = { < FormattedMessage { ...projectMessages . totalEdits } /> }
34+ value = { edits || 0 }
35+ />
36+ < StatsCard
37+ icon = { < HomeIcon className = { iconClass } style = { iconStyle } /> }
38+ description = { < FormattedMessage { ...userDetailMessages . buildingsMapped } /> }
39+ value = { buildings || 0 }
40+ />
41+ < StatsCard
42+ icon = { < RoadIcon className = { iconClass } style = { iconStyle } /> }
43+ description = { < FormattedMessage { ...userDetailMessages . roadMapped } /> }
44+ value = { roads || 0 }
45+ />
46+ </ div >
4547 </ div >
4648 </ div >
4749 ) ;
0 commit comments