Ignore empty statuse notes in history #2852

This commit is contained in:
Priit Tark 2015-08-27 13:31:25 +03:00
parent 12ec22526e
commit 87cae43536

View file

@ -36,11 +36,12 @@
- if domain.statuses.present? - if domain.statuses.present?
- domain.statuses.each do |s| - domain.statuses.each do |s|
= s = s
- notes = domain.status_notes[s] - if domain.status_notes.present?
- if notes - notes = domain.status_notes[s]
- if notes
%br
%i= notes
%br %br
%i= notes
%br
- if domain.pending_json.present? - if domain.pending_json.present?
%p %p
= link_to t(:pending_epp), '#', class: 'js-pending-toggle' = link_to t(:pending_epp), '#', class: 'js-pending-toggle'