Sha256: 7ef08e51a64f764c086c247c91b1503dc84c67f5d226839ad5baabc082d26aa0
Contents?: true
Size: 1.72 KB
Versions: 1
Compression:
Stored size: 1.72 KB
Contents
- if material.text? li.template-download .file_icon = image_tag 'cabinet/file_uploader_icon.png' .files_list_info span = t :raw_text, scope: [:account, :order, :material] a.hidden_text_show_btn href="javascript:void(0);" onclick="$('.hidden_text').fadeIn(); $('.hidden_text_hide_btn').show(); $('.hidden_text_show_btn').hide();" = t :expand, scope: [:account, :order, :material] a.hidden_text_hide_btn style='display:none;' href="javascript:void(0);" onclick="$('.hidden_text').fadeOut(); $('.hidden_text_show_btn').show(); $('.hidden_text_hide_btn').hide(); " = t :collapse, scope: [:account, :order, :material] i / = t(:text_type, scope: [:account, :order, :material]) / ' , em.date = l material.parsed_created_at, format: '%b %e, %l:%M %P' em.size = number_to_human_size(material.content.size) - if material.words_count.present? && material.words_count > 0 = t :words, scope: [:account, :order, :material], count: material.words_count .hidden_text style='display:none;' textarea style="width:100%;height:200px;" readonly="readonly" = material.content.try(:truncate, 10000) - elsif material.attachment? = render partial: 'attachment', object: material.attachment - elsif material.weburl? li.template-download .file_icon = image_tag 'cabinet/file_uploader_icon.png' .files_list_info span = material.content.try(:truncate, 128) a[ href="#{material.content}" target="_blank" rel="nofollow" ] = t(:visit_link, scope: [:account, :order, :material]) / i = t(:link_type, scope: [:account, :order, :material]) i em = l material.parsed_created_at, format: '%b %e, %l:%M %P'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
translation_cms-0.1.5 | app/views/account/orders/_material.html.slim |