CDR Tickets

Issue Number 5196
Summary [Media] Modify CSS for Demographic Information Block
Created 2023-01-31 11:34:33
Issue Type Improvement
Submitted By Osei-Poku, William (NIH/NCI) [C]
Assigned To Englisch, Volker (NIH/NCI) [C]
Status Closed
Resolved 2023-03-21 20:43:03
Resolution Fixed
Path /home/bkline/backups/jira/ocecdr/issue.337646
Description

There have been new schema changes in the Media schema for the Demographic Information Block   OCECDR-5160 and OCECDR-5183.

Please modify Media CSS for the new elements that have been added to the block.

Comment entered 2023-02-02 19:09:47 by Englisch, Volker (NIH/NCI) [C]

The following files have been modified to adjust the display of this new element:

  • Media.css

  • Media_Structure.css

  • Media.ctm

https://github.com/NCIOCPL/cdr-client/commit/e8a77b9

This is ready for review on DEV.

Comment entered 2023-03-21 16:31:28 by Osei-Poku, William (NIH/NCI) [C]

The color of the new element has a different color from the rest of the elements in the block. Can the Comment have the same color?

Comment entered 2023-03-21 18:06:57 by Englisch, Volker (NIH/NCI) [C]

, which document are you looking at?

Comment entered 2023-03-21 18:15:37 by Osei-Poku, William (NIH/NCI) [C]

I was looking at a new document. 

Comment entered 2023-03-21 19:00:36 by Englisch, Volker (NIH/NCI) [C]

Oh, I see now.  You want the color for the Comment - which is currently grey - to be displayed with the same color as all the other elements within the "DemographicInformation", right?

I can do that, however, the tag colors in XMetaL are not controlled by CSS.  In other words, I'm only able to set one color per element and because the Comment element can appear not only within the DemographicInformation block but also inside the MediaSource and ProcessingStatus blocks, the tag color would be pinkish everywhere.  That's why I left it to display with its grey color.

If you do still want to make a change to the tag color I would recommend green since we're using a green background for Summary comments.

Comment entered 2023-03-21 20:42:52 by Osei-Poku, William (NIH/NCI) [C]

Thanks for clarifying, . I will mark this ticket as DEV Verified then.

Comment entered 2023-04-26 09:37:01 by Osei-Poku, William (NIH/NCI) [C]

Verified on QA. Thanks!

Comment entered 2023-06-01 10:33:37 by Osei-Poku, William (NIH/NCI) [C]

Verified on PROD. Thanks!

Attachments
File Name Posted User
media demo scnsht.PNG 2023-03-21 18:15:08 Osei-Poku, William (NIH/NCI) [C]

Elapsed: 0:00:00.002024