cosmetics
This commit is contained in:
parent
e1dfb14d4d
commit
650bec3f57
2 changed files with 3 additions and 23 deletions
|
|
@ -101,7 +101,6 @@ module PdfDocuments
|
|||
|
||||
@prawn_document.repeat(2..) do
|
||||
@prawn_document.text_box "<b>#{params.report.name}</b>", at: [ 50, 777 ], inline_format: true, width: 300
|
||||
# @prawn_document.text_box "#{I18n.l params.report.updated_at.to_date, format: :long}", at: [ 0, 777 ], inline_format: true, width: 532, align: :right
|
||||
@prawn_document.bounding_box([0, 766], width: 532) do
|
||||
hr
|
||||
end
|
||||
|
|
@ -109,26 +108,6 @@ module PdfDocuments
|
|||
logo
|
||||
end
|
||||
end
|
||||
@prawn_document.repeat(2..) do
|
||||
# @prawn_document.bounding_box([ 0, 790 ], width: 200) do
|
||||
# logo
|
||||
# end
|
||||
# @prawn_document.formatted_text_box([ {
|
||||
# text: "Dieses Dokument wurd am #{Time.current.strftime('%d %B %Y')} um #{Time.current.strftime('%H:%M:%S')} erstellt.",
|
||||
# size: 8,
|
||||
# align: :right
|
||||
# } ],
|
||||
# at: [ 0, -15 ],
|
||||
# width: 200
|
||||
# )
|
||||
# @prawn_document.text_box "#{I18n.l params.report.updated_at.to_date, format: :long}", at: [ 0, 777 ], inline_format: true, width: 532, align: :right
|
||||
@prawn_document.font_size(8) do
|
||||
# @prawn_document.draw_text("Dokument erstellt am #{Time.current.strftime('%d %B %Y')} um #{Time.current.strftime('%H:%M:%S')}", at: [ 0, -15 ])
|
||||
end
|
||||
# @prawn_document.bounding_box([0, 0], width: 532) do
|
||||
# hr
|
||||
# end
|
||||
end
|
||||
|
||||
x = params
|
||||
p = @pages
|
||||
|
|
@ -179,7 +158,7 @@ module PdfDocuments
|
|||
heading4("Protokollnummer")
|
||||
text(success_criterion.number)
|
||||
heading4("WCAG")
|
||||
text("<link href='#{success_criterion.check.external_url}'>#{success_criterion.check.external_number}</link>'", inline_format: true)
|
||||
text("<link href='#{success_criterion.check.external_url}'>#{success_criterion.check.external_number}</link>", inline_format: true)
|
||||
move_down(10)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue