Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Show dataset author and maintainer names even if they have no emails
Dataset author and maintainer names were not being shown on the dataset read page unless the dataset's author_email and maintainer_email fields were also filled out (in CKAN 2.0 author and maintainer are simply not shown, in 1.8 and 1.7 it actually says incorrectly 'No author given' or 'No maintainer given'). Change this behaviour so that: 1. Author/maintainer is not shown if neither author/maintainer nor author_email/maintainer_email is filled out 2. If only author/maintainer is filled out (no email) just show the name 3. If only email is filled then use the email as both link text and mailto: href 4. If both name and email are given then use name as link text and email as mailto: href
- Loading branch information