<%- review = notification.notifiable %>
<%- bs_request = review.bs_request %>
<% bystring = ''
   if review.by_user
     bystring = "by user #{review.by_user}"
   elsif review.by_group
     bystring = "by group #{review.by_group}"
   elsif review.by_package
     bystring = "by package maintainers of #{review.by_project}/#{review.by_package}"
   else
     bystring = "by project maintainers of #{review.by_project}"
   end -%>
Request <%= bs_request.number %> (by <%= bs_request.creator %>) requires a review <%= bystring %>
  Visit <%= url_for(controller: 'webui/request', action: :show, number: bs_request.number, host: @host, only_path: false) %>

<% if bs_request.comment -%>
Review reason set by <%= review.reviewer || bs_request.commenter %>:
<%= bs_request.comment %>

<% end -%>
Request description:
<%= bs_request.description %>

<%= render partial: 'notifications/actions', locals: { actions: bs_request.bs_request_actions } -%>
