Skip to content

Commit

Permalink
[frontend] Fix rendering of staging project rings
Browse files Browse the repository at this point in the history
Sub-projects of the staging projects would cause a 500 due to broken
rendering. We already solved a similiar issue in 46838fa
and overlooked that this page was broken as well.

F, [2018-06-25T08:09:55.491889 #16020] FATAL -- : [c7807bec-311c-4626-a2d3-dc4d84559596] [16020:673.15] ActionView::Template::Error (Missing partial webui/obs_factory/obs_factory/openqa_jobs/_openqa_job with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :coffee, :haml]}. Searched in:
  * "/srv/www/obs/api/app/views/webui/theme/bento"
  * "/srv/www/obs/api/app/views"
  * "/usr/lib64/ruby/gems/2.5.0/gems/peek-mysql2-1.2.0/app/views"
  * "/usr/lib64/ruby/gems/2.5.0/gems/peek-host-1.0.0/app/views"
  * "/usr/lib64/ruby/gems/2.5.0/gems/peek-dalli-1.2.0/app/views"
  * "/usr/lib64/ruby/gems/2.5.0/gems/peek-1.0.1/app/views"
  * "/usr/lib64/ruby/gems/2.5.0/gems/kaminari-core-1.1.1/app/views"
):

Co-authored-by: Eduardo Navarro <enavarro@suse.com>
  • Loading branch information
bgeuken and eduardoj committed Jun 25, 2018
1 parent 1cab3fd commit 2fdeaac
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<% else %>
<ul>
<% project.openqa_jobs.each do |job| %>
<li class="openqa_job"><%= render job %></li>
<li class="openqa_job"><%= render(template: 'webui/obs_factory/openqa_jobs/_openqa_job', locals: { openqa_job: job }) %></li>
<% end %>
</ul>
<% end %>
Expand Down

0 comments on commit 2fdeaac

Please sign in to comment.