% @page_title = "portpkg #{@port_pkg.id} for #{@port_pkg.port.name}" %>
<% for tag in @port_pkg.tags.sort %>
<%= link_to tag.name, :controller => 'tag', :action => 'show', :id => tag %>
<% end %>
Port: <%= link_to @port_pkg.port.name, :controller => 'port', :action => 'show', :id => @port_pkg.port %>
<%=h @port_pkg.short_desc if @port_pkg.short_desc %>
<% if @port_pkg.long_desc && @port_pkg.long_desc != @port_pkg.short_desc %>Home Page: <%= auto_link @port_pkg.home_page %>
Version: <%=h "(#{@port_pkg.epoch})" if @port_pkg.epoch.to_i != 0 %> <%=h "#{@port_pkg.version}_#{@port_pkg.revision}" %>
Submitter: <%= link_to @port_pkg.submitter.user_name, @port_pkg.submitter %>
Submission Date: <%= @port_pkg.submitted_at %>
<% if @port_pkg.submitter_notes %>Submitter notes: <%= simple_format(word_wrap(@port_pkg.submitter_notes)) %>
<% end %>Variants: <% for variant in @port_pkg.variants.sort %> <%= link_to variant.name, :controller => 'variant', :action => 'show', :id => variant %> <% end %>
Path | Length | MIME-type | Download | Downloads |
---|---|---|---|---|
<%= link_to ref.file_info.file_path, :controller => 'file_info', :action => 'show', :id => ref.file_info %> | <%=h ref.file_info.length %> | <%=h ref.file_info.mime_type %> | <%= if ref.is_port_pkg link_to 'download', :controller => 'port_pkg', :action => 'emit_portpkg', :id => ref.port_pkg else link_to 'download', :controller => 'file_ref', :action => 'emit', :id => ref end %> | <%= ref.download_count %> |