diff --git a/source/api_details.html.erb b/source/api_details.html.erb index a6c621dbb..ecb82da2b 100644 --- a/source/api_details.html.erb +++ b/source/api_details.html.erb @@ -1 +1,55 @@

<%= api.name %>

+ +<% if api.url.present? %> +

Endpoint URL:

+ +<% end %> + +<% if api.documentation.present? %> +

Documentation URL:

+ +<% end %> + +<% if api.maintainer.present? %> +

Contact:

+ +<% end %> + +<% if api.description.present? %> +

Description:

+ <%= escape_html(api.description) %> +<% end %> + +<% if api.license.present? %> +

License:

+ +<% end %> + +<% if api.area_served.present? %> +

Geographic Area:

+ +<% end %> + +<% if api.start_date.present? %> +

Start Date:

+ +<% end %> + +<% if api.end_date.present? %> +

Expiry Date:

+ +<% end %>