Sha256: 54594ba798a6726f2bc3c425492246c4b2f9f484770eba2344afd49f3a9ba33b

Contents?: true

Size: 1003 Bytes

Versions: 16

Compression:

Stored size: 1003 Bytes

Contents

# HTML writer
# responsible party

# History:
# 	Stan Smith 2015-03-24 original script
#   Stan Smith 2015-07-16 refactored to remove global namespace $HtmlNS

require_relative 'html_contact'

module ADIWG
    module Mdtranslator
        module Writers
            module Html

                class MdHtmlResponsibleParty
                    def initialize(html)
                        @html = html
                    end

                    def writeHtml(hResParty)

                        # classes used
                        htmlContact = MdHtmlContact.new(@html)

                        @html.details do
                            @html.summary(hResParty[:roleName], {'class'=>'h5'})
                            @html.section(:class=>'block') do
                                htmlContact.writeHtml(hResParty[:contactId])
                            end
                        end

                    end # writeHtml

                end # class

            end
        end
    end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
adiwg-mdtranslator-1.4.0 lib/adiwg/mdtranslator/writers/html/sections/html_responsibleParty.rb
adiwg-mdtranslator-1.4.0.beta14 lib/adiwg/mdtranslator/writers/html/sections/html_responsibleParty.rb
adiwg-mdtranslator-1.4.0.beta13 lib/adiwg/mdtranslator/writers/html/sections/html_responsibleParty.rb
adiwg-mdtranslator-1.4.0.beta12 lib/adiwg/mdtranslator/writers/html/sections/html_responsibleParty.rb
adiwg-mdtranslator-1.4.0.beta11 lib/adiwg/mdtranslator/writers/html/sections/html_responsibleParty.rb
adiwg-mdtranslator-1.4.0.beta10 lib/adiwg/mdtranslator/writers/html/sections/html_responsibleParty.rb
adiwg-mdtranslator-1.4.0.beta9 lib/adiwg/mdtranslator/writers/html/sections/html_responsibleParty.rb
adiwg-mdtranslator-1.4.0.beta8 lib/adiwg/mdtranslator/writers/html/sections/html_responsibleParty.rb
adiwg-mdtranslator-1.4.0.beta7 lib/adiwg/mdtranslator/writers/html/sections/html_responsibleParty.rb
adiwg-mdtranslator-1.4.0.beta6 lib/adiwg/mdtranslator/writers/html/sections/html_responsibleParty.rb
adiwg-mdtranslator-1.4.0.beta5 lib/adiwg/mdtranslator/writers/html/sections/html_responsibleParty.rb
adiwg-mdtranslator-1.4.0.beta4 lib/adiwg/mdtranslator/writers/html/sections/html_responsibleParty.rb
adiwg-mdtranslator-1.4.0.beta3 lib/adiwg/mdtranslator/writers/html/sections/html_responsibleParty.rb
adiwg-mdtranslator-1.4.0.beta2 lib/adiwg/mdtranslator/writers/html/sections/html_responsibleParty.rb
adiwg-mdtranslator-1.4.0.beta1 lib/adiwg/mdtranslator/writers/html/sections/html_responsibleParty.rb
adiwg-mdtranslator-1.3.0 lib/adiwg/mdtranslator/writers/html/sections/html_responsibleParty.rb