Project

General

Profile

« Previous | Next » 

Revision 2dce3b2a

Added by Andreas Kohlbecker about 4 years ago

fix #8073 showing typified name for registrations covering typifications only

View differences:

modules/cdm_dataportal/includes/name.inc
583 583
    $name_relations = cdm_ws_fetch_all(str_replace("$0", $registration_dto->nameRef->uuid, CDM_WS_PORTAL_NAME_NAME_RELATIONS));
584 584
    $render_array['name_relations'] = markup_to_render_array(render_name_relationships_of($name_relations, $registration_dto->nameRef->uuid, null, false));
585 585
    $render_array['name_relations']['#weight'] = 10;
586
  } else {
587
    // in this case the registration must have a
588
    $name = cdm_ws_get(CDM_WS_PORTAL_NAME, $registration_dto->typifiedNameRef->uuid);
589
    $render_array['typified_name'] = markup_to_render_array('<p class="typified-name">for ' . render_taxon_or_name($name) . '</p>', 40);
586 590
  }
587 591
  if(is_object($registration_dto->orderdTypeDesignationWorkingSets)) {
588 592
    $field_unit_uuids = array();
themes/zen_dataportal/css/cdm.css
273 273
  color: #999;
274 274
}
275 275

  
276
/* line 187, ../sass/cdm.scss */
276
/* line 186, ../sass/cdm.scss */
277
.typified-name .cdm\:TaxonName {
278
  color: #999;
279
}
280

  
281
/* line 191, ../sass/cdm.scss */
277 282
.registration-summary .registered_name .name {
278 283
  font-weight: bold;
279 284
}
280
/* line 190, ../sass/cdm.scss */
285
/* line 194, ../sass/cdm.scss */
281 286
.registration-summary .referenced_typified_name {
282 287
  color: #999;
283 288
}
284
/* line 193, ../sass/cdm.scss */
289
/* line 197, ../sass/cdm.scss */
285 290
.registration-summary .label {
286 291
  font-weight: bold;
287 292
}
......
289 294
/*
290 295
 * Theme settings page
291 296
 */
292
/* line 203, ../sass/cdm.scss */
297
/* line 207, ../sass/cdm.scss */
293 298
#system-theme-settings .image-preview {
294 299
  width: 600px;
295 300
  max-height: 150px;
296 301
  overflow: auto;
297 302
}
298
/* line 207, ../sass/cdm.scss */
303
/* line 211, ../sass/cdm.scss */
299 304
#system-theme-settings .image-preview img {
300 305
  max-width: none;
301 306
  /* reset style in mormalize.scss */
......
306 311
 *
307 312
 * using the same media queries here as in layout/_responsive.scss
308 313
 *****************************************************************************************/
309
/* line 220, ../sass/cdm.scss */
314
/* line 224, ../sass/cdm.scss */
310 315
#classification-breadcrumbs {
311 316
  font-size: 1.5em;
312 317
  line-height: 1.5em;
313 318
}
314 319

  
315 320
@media all and (min-width: 960px) {
316
  /* line 231, ../sass/cdm.scss */
321
  /* line 235, ../sass/cdm.scss */
317 322
  #classification-breadcrumbs {
318 323
    font-size: 1em;
319 324
  }
themes/zen_dataportal/css/styles.css
2334 2334
  color: #999;
2335 2335
}
2336 2336

  
2337
/* line 187, ../sass/cdm.scss */
2337
/* line 186, ../sass/cdm.scss */
2338
.typified-name .cdm\:TaxonName {
2339
  color: #999;
2340
}
2341

  
2342
/* line 191, ../sass/cdm.scss */
2338 2343
.registration-summary .registered_name .name {
2339 2344
  font-weight: bold;
2340 2345
}
2341
/* line 190, ../sass/cdm.scss */
2346
/* line 194, ../sass/cdm.scss */
2342 2347
.registration-summary .referenced_typified_name {
2343 2348
  color: #999;
2344 2349
}
2345
/* line 193, ../sass/cdm.scss */
2350
/* line 197, ../sass/cdm.scss */
2346 2351
.registration-summary .label {
2347 2352
  font-weight: bold;
2348 2353
}
......
2350 2355
/*
2351 2356
 * Theme settings page
2352 2357
 */
2353
/* line 203, ../sass/cdm.scss */
2358
/* line 207, ../sass/cdm.scss */
2354 2359
#system-theme-settings .image-preview {
2355 2360
  width: 600px;
2356 2361
  max-height: 150px;
2357 2362
  overflow: auto;
2358 2363
}
2359
/* line 207, ../sass/cdm.scss */
2364
/* line 211, ../sass/cdm.scss */
2360 2365
#system-theme-settings .image-preview img {
2361 2366
  max-width: none;
2362 2367
  /* reset style in mormalize.scss */
......
2367 2372
 *
2368 2373
 * using the same media queries here as in layout/_responsive.scss
2369 2374
 *****************************************************************************************/
2370
/* line 220, ../sass/cdm.scss */
2375
/* line 224, ../sass/cdm.scss */
2371 2376
#classification-breadcrumbs {
2372 2377
  font-size: 1.5em;
2373 2378
  line-height: 1.5em;
2374 2379
}
2375 2380

  
2376 2381
@media all and (min-width: 960px) {
2377
  /* line 231, ../sass/cdm.scss */
2382
  /* line 235, ../sass/cdm.scss */
2378 2383
  #classification-breadcrumbs {
2379 2384
    font-size: 1em;
2380 2385
  }
themes/zen_dataportal/sass/cdm.scss
183 183
  color: #999;
184 184
}
185 185

  
186
.typified-name .cdm\:TaxonName {
187
  color: #999;
188
}
189

  
186 190
.registration-summary {
187 191
  .registered_name .name {
188 192
    font-weight: bold;

Also available in: Unified diff