rhodges / oregon-marinemap

Automatically exported from code.google.com/p/oregon-marinemap
0 stars 0 forks source link

adjust the Create New drop down menu #24

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently the Create New drop down menu lists two options:  MPA and Array
This should change to Nearshore Habitat and Energy Site (or something similar). 

I suspect this has a whole slew of implications for underlying changes in the 
code structure and the decisions that need to be made regarding how this tool 
will be developed (multi-purpose or multi-app).
I wonder for now, if it's possible to simply change the term 'Marine Protected 
Area' to 'Nearshore Habitat'.  

Original issue reported on code.google.com by sfletche@gmail.com on 14 Jul 2010 at 7:19

GoogleCodeExporter commented 9 years ago
This is actually very easy. Just change the title of the marinemap.create_form 
atom links within the kmlapp template. Would mean a template override. Hmm... 
not sure if that's been done before. Maybe take a look at the cumulative impact 
app? I think Matt may have done this using a setting.

Original comment by underbluewaters on 14 Jul 2010 at 7:29

GoogleCodeExporter commented 9 years ago
change atom:link title in base.kml template (from lingcod.kmlapp)
also changed the named url link to nsh_create_form
added tsp.urls to omm.urls.urlpatterns
added urlpattern for nsh_create_form to tsp.urls
also changed create_title to Create a New Nearshore Habitat

Original comment by sfletche@gmail.com on 15 Jul 2010 at 11:28