app/models/item.rb
# returns a reference to the item as it is used in .vtt files,
# if the item is referred to from an given medium
# result might look like this:
# "Verweis auf LA 2 SS 17, Bem. 29.13:"
returns a reference to the item as it is used in .vtt files,
if the item is referred to from an given medium
result might look like this:
"Verweis auf LA 2 SS 17, Bem.
returns a reference to the item as it is used in . vtt files if the item is referred to from an given medium result might look like this : " Verweis auf LA 2 SS 17 Bem .
def vtt_meta_reference(referring_medium)
    return I18n.t('item.external_reference') if sort == 'link'
    ref = local?(referring_medium) ? short_reference : long_reference
    I18n.t('item.internal_reference', ref: ref)
  end
def vtt_meta_reference ( referring_medium ) return I18n . t ( 'item.external_reference' ) if sort == 'link' ref = local? ( referring_medium ) ? short_reference : long_reference I18n . t ( 'item.internal_reference' , ref : ref ) end
returns a reference to the item as it is used in .vtt files,
if the item is referred to from an given medium
result might look like this:
"Verweis auf LA 2 SS 17, Bem.
returns a reference to the item as it is used in . vtt files if the item is referred to from an given medium result might look like this : " Verweis auf LA 2 SS 17 Bem .
referring_medium
<not_specific>