Project

General

Profile

Revision e3059327

IDe30593279780b4a1b0296edb354a149b75e642da
Parent 17993bbd
Child 1e2a55fb, 9c4e71bd

Added by Andreas Kohlbecker over 1 year ago

ref #6659 showing mediaCreated by default

View differences:

modules/cdm_dataportal/theme/cdm_dataportal.media.theme
213 213
  $doTitle = !$elements || array_search('title', $elements) !== FALSE;
214 214
  $doDescription = !$elements || array_search('description', $elements) !== FALSE;
215 215
  $doArtist = !$elements || array_search('artist', $elements) !== FALSE;
216
  $doMediacreated = true; //!$elements || array_search('mediacreated', $elements) !== FALSE;
216 217
  $doLocation = !$elements || array_search('location', $elements) !== FALSE;
217 218
  $doRights = !$elements || array_search('rights', $elements) !== FALSE;
218 219

  
......
260 261
    _description_list_group_add($groups, t('Artist') . ':', $media_metadata['artist'] );
261 262
  }
262 263
  // MediaCreated
263
  if ($media_metadata['mediacreated'] && $doArtist) {
264
  if ($media_metadata['mediacreated'] && $doMediacreated) {
264 265
    _description_list_group_add($groups, t('Created') . ':', $media_metadata['mediacreated'] );
265 266
  }
266 267
  // Location.

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)