Revision
118184
Author
mojca@macports.org
Date
2014-03-24 18:10:05 -0700 (Mon, 24 Mar 2014)

Log Message

macports stats: show maintainers and links to categories/variants on port page

Modified Paths

Diff

Modified: branches/gsoc11-statistics/stats-server/app/views/ports/show.html.erb (118183 => 118184)


--- branches/gsoc11-statistics/stats-server/app/views/ports/show.html.erb	2014-03-25 00:28:44 UTC (rev 118183)
+++ branches/gsoc11-statistics/stats-server/app/views/ports/show.html.erb	2014-03-25 01:10:05 UTC (rev 118184)
@@ -28,13 +28,17 @@
 		<dt>Licenses</dt>
 		<dd><%= @port.licenses %></dd>
 	<% end %>
+	<% unless @port.maintainers.nil? %>
+		<dt>Maintainers</dt>
+		<dd><%= @port.maintainers %></dd>
+	<% end %>
 	<% unless @port.categories.nil? %>
 		<dt>Categories</dt>
-		<dd><%= @port.categories %></dd>
+		<dd><%= print_search_links(@port, "categories") %></dd>
 	<% end %>
 	<% unless @port.variants.nil? %>
 		<dt>Variants</dt>
-		<dd><%= @port.variants %></dd>
+		<dd><%= print_search_links(@port, "variants") %></dd>
 	<% end %>
 </dl>