app/models/hydra/access_controls/embargo.rb
# The log message used when deactivating an embargo
The log message used when deactivating an embargo
The log message used when deactivating an embargo
def embargo_history_message(state,
                                deactivate_date,
                                release_date,
                                visibility_during,
                                visibility_after)
      vis_during_label = ::EmbargoService.title_for(visibility_during.id)
      vis_after_label  = ::EmbargoService.title_for(visibility_after.id)
      I18n.t "hydra.embargo.history_message",
             state: state,
             deactivate_date: deactivate_date,
             release_date: release_date,
             visibility_during: vis_during_label,
             visibility_after: vis_after_label
    end
def embargo_history_message ( state , deactivate_date , release_date , visibility_during , visibility_after ) vis_during_label = :: EmbargoService . title_for ( visibility_during . id ) vis_after_label = :: EmbargoService . title_for ( visibility_after . id ) I18n . t "hydra.embargo.history_message" , state : state , deactivate_date : deactivate_date , release_date : release_date , visibility_during : vis_during_label , visibility_after : vis_after_label end
The log message used when deactivating an embargo
The log message used when deactivating an embargo
state
deactivate_date
release_date
visibility_during
visibility_after