From 87cae4353682bb770568a3e322eaa3255ec76440 Mon Sep 17 00:00:00 2001 From: Priit Tark Date: Thu, 27 Aug 2015 13:31:25 +0300 Subject: [PATCH] Ignore empty statuse notes in history #2852 --- app/views/admin/domain_versions/_version.haml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/app/views/admin/domain_versions/_version.haml b/app/views/admin/domain_versions/_version.haml index b100db2e2..6f0d7dd24 100644 --- a/app/views/admin/domain_versions/_version.haml +++ b/app/views/admin/domain_versions/_version.haml @@ -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'