Skip to content

Commit

Permalink
[webui] More correct wording on binaries view for packages
Browse files Browse the repository at this point in the history
  • Loading branch information
saschpe committed Apr 18, 2012
1 parent b218bc9 commit 9504a90
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/webui/app/views/package/binaries.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<% @pagetitle = "Repository State of #{@package}"
<% @pagetitle = "State of Repository #{@repository} for #{@project} / #{@package}"
@metarobots = "index,nofollow" # do not follow the single binary pages
package_bread_crumb "Repository State"
-%>
Expand All @@ -18,7 +18,7 @@
<h3><%= repo_status_icon repocode %> Architecture: <%= result['arch'] %></h3>

<% unless result.get( 'binarylist')['binary'] %>
<p><i>No published binaries</i></p>
<p><i>No built binaries</i></p>
<% else %>
<ul>
<% result.get('binarylist').elements('binary') do |binary| %>
Expand All @@ -38,7 +38,7 @@

<% if result.has_element?('binarylist/binary') %>
<%= link_to image_tag('icons/drive_burn.png'), { :controller => :package, :action => :wipe_binaries, :arch => result['arch'], :project => @project, :package => @package, :repo => @repository }, { :method => :delete } %>
<%= link_to 'Delete', { :controller => :package, :action => :wipe_binaries, :arch => result['arch'], :project => @project, :package => @package, :repo => @repository }, { :method => :delete} %> published binaries
<%= link_to 'Delete', { :controller => :package, :action => :wipe_binaries, :arch => result['arch'], :project => @project, :package => @package, :repo => @repository }, { :method => :delete} %> built binaries
<% end %>
<% end %>
</p>
Expand Down

0 comments on commit 9504a90

Please sign in to comment.