diff options
-rw-r--r-- | web/app.rb | 2 | ||||
-rw-r--r-- | web/views/layout.erb | 5 |
2 files changed, 5 insertions, 2 deletions
@@ -95,7 +95,7 @@ class RubyTinderbox < Sinatra::Base repoman_next = package.repoman_dataset.where(target: 'next').reverse_order(:timestamp).first next if repoman_next.nil? - if repoman_current[:result] == 'passed' && repoman_next[:result] == 'passed' + if repoman_current[:result] == 'passed' || repoman_current[:result] == 'partial' && repoman_next[:result] == 'passed' || repoman_next[:result] == 'partial' packages << [package, build_current, build_next, repoman_current, repoman_next] end end diff --git a/web/views/layout.erb b/web/views/layout.erb index 0e961a8..5f0467c 100644 --- a/web/views/layout.erb +++ b/web/views/layout.erb @@ -84,7 +84,10 @@ <a class="goto-top" href="#site-title">Top</a> <div class="row"> <div class="col-md-1"></div> - <div class="col-md-10"><%=yield%></div> + <div class="col-md-10"> + <div class="alert alert-danger"><strong>Notice:</strong> Maintenance work underway due to git migration. Some build logs are currently unavailable.</div> + <%=yield%> + </div> <div class="col-md-1"></div> </div> </div> |