<% html = "" link_ids = Array.new # recall that all this image-related stuff is nothing but ugly hacks for now # also some of this no-image logic is repeated in desc_list_page if (has_img) thumb_url = "../../images/rep_thumb/" + base_image_url + ".jpg" html << "" # else # html << "" end # we only support one area in the title desc first = true desc.areas[0].elements.each do |area_elem| elem_style = first ? "firstTitleDescLine" : "titleDescLine" html << "

" if(area_elem.elemTypeBool(@base_view_el_type.TEXT_BPV)) html << "#{area_elem.val}" elsif (area_elem.elemTypeBool(@base_view_el_type.DESC_FRAGMENT)) html << "#{area_elem.label.val}
" html << "#{area_elem.value.val}" end html << "

" first = false end if (for_col_level) link_id = "listFromTitleDesc" # html << "
" # html << "

Mostrando ficha de nivel colección

" html << "" link_ids << link_id elsif (for_list) link_id = "colRecordFromTitleDesc" link_text = has_img ? "Ver ficha e imagen" : "Ver ficha" # html << "
" # html << "

Mostrando listado de miembros de la colección

" html << "" link_ids << link_id else # html << "

Ficha de una unidad docmental

" end html << "
" -%> <%= [ html, link_ids.size, link_ids ].flatten.join("::") -%>