Show optional properties in propertiesAction

If optional properties were set in a template and if a resource uses one of these,
OntoWiki will show them in propertiesAction of resource controller.