Project

General

Profile

Revision 26b8a1bc

ID26b8a1bcd81a577d5852fc97dde4bca88b9566b0
Parent 7212f0bc
Child 12466422

Added by Andreas Kohlbecker 10 months ago

ref #8051 harmonizing registrationDTO composition and splitting full and compact style into separate methods

View differences:

modules/cdm_dataportal/theme/cdm_dataportal.page.theme
605 605

  
606 606
  $registration_working_set = cdm_ws_get("registrationWorkingSetDTO", array($uuid));
607 607
  if($registration_working_set && count($registration_working_set->registrationDTOs) > 0){
608
    $out .= "<h3>Nomenclatural acts:</h3><div class=\"cdm-item-list\">";
608
    $out .= "<h3>Nomenclatural acts:</h3><div class=\"cdm-item-list registration-item-list\">";
609 609
    foreach($registration_working_set->registrationDTOs as $registration_dto){
610 610
      if($registration_dto->status == "PUBLISHED"){
611
        $registration_render_a = compose_registration_dto($registration_dto, false, true);
612
        $registration_render_a["#prefix"] = "<div class=\"item\">";
611
        $registration_render_a = compose_registration_dto_compact($registration_dto, 'citation');
612
        $registration_render_a["#prefix"] = "<div class=\"item item-registration\">";
613 613
        $registration_render_a["#suffix"] = "</div>";
614 614
        $out .= drupal_render($registration_render_a);
615 615
      }

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)