3 changed files with 19 additions and 20 deletions
@ -1,6 +1,7 @@
|
||||
module UnresolvedLogHelper |
||||
def flash_notice_for_resolved_logs(count) |
||||
notice_message = "You’ve updated all the fields affected by the scheme change.</br>" |
||||
notice_message << " <a href=\"/lettings-logs/update-logs\">Update #{count} more logs</a>" if count.positive? |
||||
notice_message << " <a href=\"/lettings-logs/update-logs\">Update #{count} more #{'log'.pluralize(count)}</a>" if count.positive? |
||||
notice_message |
||||
end |
||||
end |
||||
|
||||
Loading…
Reference in new issue