Sha256: 328cd342b6b571ac2afbfe23430f25fa89b0ecd1af9f30ef27328d5b965d1553
Contents?: true
Size: 785 Bytes
Versions: 1
Compression:
Stored size: 785 Bytes
Contents
module FcrepoAdmin::Helpers module DatastreamsHelperBehavior include FcrepoAdmin::Helpers::FcrepoAdminHelperBehavior def datastream_context_nav_header t("fcrepo_admin.datastream.nav.header") end def datastream_context_nav_items render :partial => 'fcrepo_admin/datastreams/context_nav_items', :locals => {:object => @object, :datastream => @datastream} end # List of ds profile keys for ds index view def datastream_index_columns ["dsLabel", "dsMIME", "dsSize", "dsCreateDate"] end # List of ds profile keys for ds history view def datastream_history_columns ["dsCreateDate"] end def datastream_params params.has_key?(:asOfDateTime) ? {:asOfDateTime => params[:asOfDateTime]} : {} end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fcrepo_admin-0.4.1 | lib/fcrepo_admin/helpers/datastreams_helper_behavior.rb |