118007975-html_fixes

This commit is contained in:
Stas 2016-06-16 12:33:58 +03:00
parent c67233e694
commit 2a4a8497ea

View file

@ -17,7 +17,7 @@
= x.css('alg').first.text = x.css('alg').first.text
%tr %tr
%td %td
%b= "#{t(:flag)}:" %b= "#{t(:ds_digest_type)}:"
= x.css('digestType').text = x.css('digestType').text
%tr %tr
%td %td
@ -25,7 +25,7 @@
= x.css('digest').text = x.css('digest').text
- @data.css('keyData').each do |x| - @data.css('keyData').each do |x|
%tr %tr
%td %td
%b= "#{t(:flag)}:" %b= "#{t(:flag)}:"
= x.css('flags').text = x.css('flags').text
@ -43,7 +43,7 @@
= x.css('pubKey').text = x.css('pubKey').text
%tr %tr
%td{:colspan => "3"} %td{:colspan => "3"}
= " " = " ".html_safe
- if @data.css('dsData').empty? - if @data.css('dsData').empty?
- @data.css('keyData').each do |x| - @data.css('keyData').each do |x|
@ -63,4 +63,4 @@
= x.css('pubKey').text = x.css('pubKey').text
%tr %tr
%td{:colspan => "3"} %td{:colspan => "3"}
= " " = " ".html_safe