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?
- domain.statuses.each do |s|
= s
- notes = domain.status_notes[s]
- if notes
- if domain.status_notes.present?
- notes = domain.status_notes[s]
- if notes
%br
%i= notes
%br
%i= notes
%br
- if domain.pending_json.present?
%p
= link_to t(:pending_epp), '#', class: 'js-pending-toggle'