1
0
مراية لـ https://github.com/postalserver/postal.git تم المزامنة 2025-11-30 21:32:30 +00:00

correct suppression expired check (#988)

هذا الالتزام موجود في:
Will Power
2020-07-17 10:31:38 +01:00
ملتزم من قبل GitHub
الأصل a4bdafac13
التزام f56380e3b2

عرض الملف

@@ -25,6 +25,6 @@
%p.suppressionList__timestamp Added #{Time.zone.at(suppression['timestamp']).to_s(:long)} %p.suppressionList__timestamp Added #{Time.zone.at(suppression['timestamp']).to_s(:long)}
%p.suppressionList__timestamp %p.suppressionList__timestamp
Expires #{Time.zone.at(suppression['keep_until']).to_s(:long)} Expires #{Time.zone.at(suppression['keep_until']).to_s(:long)}
- if suppression['keep_until'] > Time.now.to_f - if suppression['keep_until'] < Time.now.to_f
%span.u-red expired %span.u-red expired
= render 'shared/message_db_pagination', :data => @suppressions, :name => "suppression" = render 'shared/message_db_pagination', :data => @suppressions, :name => "suppression"