Skip to content

Commit

Permalink
Merge pull request #6544 from bgeuken/update_icon_on_repository_state…
Browse files Browse the repository at this point in the history
…_page

Update subheader for repository states
  • Loading branch information
DavidKang committed Dec 17, 2018
2 parents 9559d3d + ffcb8d7 commit ee4292a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/api/app/views/webui2/webui/package/binaries.html.haml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.card
= render partial: 'tabs', locals: { package: @package, project: @project }
.card-body
%h3 State of Repository #{@repository} for #{@project} / #{@package_name}
%h3 State of #{@repository} for #{@project} / #{@package_name}
%ul.list-inline
- if @configuration['download_url']
= render partial: 'shared/download_repository_link', locals: { project: @project, repository: @repository,
Expand All @@ -15,8 +15,8 @@

- @buildresults.each do |result|
%h5.bg-light.p-2.mb-0
%i{ class: webui2_repo_status_icon(result[:repocode]) }
Architecture: #{result[:arch]}
%i{ class: "#{webui2_repo_status_icon(result[:repocode])} fa-xs" }
= result[:arch]
- if result[:binaries].empty?
%p.pl-2
%i No built binaries
Expand Down

0 comments on commit ee4292a

Please sign in to comment.