Class: ODDB::Html::View::Drugs::Admin::PackageComposite
Constant Summary
collapse
- COMPONENTS =
{
[0,0] => :snapback,
[0,1] => InlineSearch,
[0,2] => :name,
[0,3] => PackageForm,
}
- CSS_MAP =
{ 0 => 'before-searchbar' }
PackageComposite::CSS_ID_MAP
Instance Method Summary
collapse
#name, #parts, #parts_heading, #snapback
Methods included from Snapback
#snapback
Instance Method Details
#breadcrumbs(model) ⇒ Object
217
218
219
220
221
222
223
224
|
# File 'lib/oddb/html/view/drugs/admin/package.rb', line 217
def breadcrumbs(model)
div = @lookandfeel.lookup(:breadcrumb_divider)
seq = HtmlGrid::Link.new(:sequence, model, @session, self)
seq.href = @lookandfeel._event_url(:sequence, :uid => model.sequence.uid)
prd = HtmlGrid::Link.new(:product, model, @session, self)
prd.href = @lookandfeel._event_url(:product, :uid => model.product.uid)
[ prd, div, seq, div ].concat super
end
|
#partline(part, idx) ⇒ Object
225
226
227
|
# File 'lib/oddb/html/view/drugs/admin/package.rb', line 225
def partline(part, idx)
end
|