flavour/eden — pull request #910 by ptressel (2014-10-25 09:30:51+00:00)
Title: Allow a hospital to have multiple types.

This is missing changes to several xsl files that involve hospital types:
gpx/export.xsl
have/export.xsl
have/import.xsl
hrf/import.xsl
osm/import.xsl
So this PR is just to allow a first look, as those stylesheets won't work with this change. I have to pause til Sunday -- have a term project in one class and an assignment in another that have been put off til long past the danger point. I'll update those after Sunday.

This also includes templates/Disease/hospital.csv with the "no name" names disambiguated -- they were all collapsed into one record when imported. Didn't include the script, as would be better to have something that does whatever else is needed to prep the SBTF data.

The type labels all still say Facility Type as that's what's in the languages files as the key, and that's been the name all along anyway.

The link for creating a new type, in the tooltip beside the inline form on the hospital create page, works in that it brings up a popup, and filling out and submitting the popup creates a new type, but the popup does not close, and if one closes it manually, the list of types in the widget has not been updated. This has come up before, two years ago, but this isn't the same widget, and the "fix" used in some of those cases doesn't apply (and doesn't work if tried anyway). If this is a more general issue, it could be left for a separate change.