Class: ODDB::View::Admin::RootRegistrationSequences

Inherits:
FormList
  • Object
show all
Includes:
RegistrationSequenceList
Defined in:
src/view/admin/registration.rb

Constant Summary

EMPTY_LIST_KEY =
:empty_sequence_list

Constants included from RegistrationSequenceList

COMPONENTS, CSS_CLASS, CSS_MAP, DEFAULT_CLASS, DEFAULT_HEAD_CLASS, EVENT, SORT_DEFAULT, SORT_HEADER, SYMBOL_MAP

Instance Method Summary (collapse)

Methods included from RegistrationSequenceList

#atc_class, #galenic_form, #seqnr

Methods included from ODDB::View::AdditionalInformation

#_fachinfo, #atc_ddd_link, #atc_description, #comarketing, #complementary_type, #compositions, #ddd_price, #deductible, #fachinfo, #feedback, #google_search, #ikscat, #limitation_link, #limitation_text, #minifi, #narcotic, #notify, #patent, #patinfo, #qty_unit, #square, #twitter_share

Methods included from PartSize

#comparable_size, #part_size

Methods included from Drugs::AtcDddLink

#atc_ddd_link

Instance Method Details

- (Object) compose_empty_list(offset)



78
79
80
81
82
83
84
85
# File 'src/view/admin/registration.rb', line 78

def compose_empty_list(offset)
  @grid.add(@lookandfeel.lookup(self::class::EMPTY_LIST_KEY), 
    *offset)
  @grid.add_attribute('class', 'list', *offset)
  #@grid[*offset].add_style('list')
  @grid.set_colspan(*offset)
  resolve_offset(offset, self::class::OFFSET_STEP)
end