% controller.set_chart_title :version_count, 'All Versions' %>
<% controller.set_chart_type :version_count, 'PieChart' %>
<% controller.set_chart_title :variant_count, 'All Variants' %>
<% controller.set_chart_type :variant_count, 'PieChart' %>
<% controller.set_chart_title :versions_over_time, 'Top Versions in use Over Last 12 Months' %>
<% controller.set_chart_type :versions_over_time, 'LineChart' %>
<% controller.set_chart_title :installs_over_time, 'Installations Over Last 12 Months' %>
<% controller.set_chart_type :installs_over_time, 'LineChart' %>
<%# Order the charts %>
<% ordered_charts = [:installs_over_time,
:versions_over_time,
:version_count,
:variant_count] %>
Current Version: <%= @port.version %>
<% unless @port.description.nil? %>
Description: <%= @port.description %>
<% end %>
<% unless @port.licenses.nil? %>
Licenses: <%= @port.licenses %>
<% end %>
Categories
<%=h @port.categories %>
<% unless @port.variants.nil? %>
Variants: <%=h @port.variants %>
<% end %>