Skip to content

Commit

Permalink
Merge pull request #1395 from trendspotter/edu-school-import
Browse files Browse the repository at this point in the history
Edu: Add school capacity and contact to XSLT and CSV
  • Loading branch information
flavour authored Sep 27, 2017
2 parents 978f0c2 + db34619 commit 1fd61be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion static/formats/s3csv/edu/school.csv
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Name,Type,Organisation,Branch,Phone,Email,Website,Country,L1,L2,L3,L4,L5,Building,Address,Postcode,Lat,Lon,Comments
Name,Type,Organisation,Branch,Capacity,Contact,Phone,Email,Website,Country,L1,L2,L3,L4,L5,Building,Address,Postcode,Lat,Lon,Comments
2 changes: 2 additions & 0 deletions static/formats/s3csv/edu/school.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,8 @@
<!-- School data -->
<data field="code"><xsl:value-of select="col[@field='Code']"/></data>
<data field="name"><xsl:value-of select="$SchoolName"/></data>
<data field="capacity"><xsl:value-of select="col[@field='Capacity']"/></data>
<data field="contact"><xsl:value-of select="col[@field='Contact']"/></data>
<data field="phone"><xsl:value-of select="col[@field='Phone']"/></data>
<data field="email"><xsl:value-of select="col[@field='Email']"/></data>
<data field="website"><xsl:value-of select="col[@field='Website']"/></data>
Expand Down

0 comments on commit 1fd61be

Please sign in to comment.