[118184] branches/gsoc11-statistics/stats-server/app/views/ports/show.html. erb

mojca at macports.org mojca at macports.org
Mon Mar 24 18:10:05 PDT 2014


Revision: 118184
          https://trac.macports.org/changeset/118184
Author:   mojca at 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:
--------------
    branches/gsoc11-statistics/stats-server/app/views/ports/show.html.erb

Modified: branches/gsoc11-statistics/stats-server/app/views/ports/show.html.erb
===================================================================
--- 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>
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140324/79b73989/attachment.html>


More information about the macports-changes mailing list