CDR Tickets

Issue Number 4646
Summary [DIS] Add CSS to comments display in DIS
Created 2019-08-09 12:41:11
Issue Type Improvement
Submitted By Juthe, Robin (NIH/NCI) [E]
Assigned To Englisch, Volker (NIH/NCI) [C]
Status Closed
Resolved 2020-04-13 13:25:31
Resolution Fixed
Path /home/bkline/backups/jira/ocecdr/issue.248211
Description

Please adjust the CSS to properly display comments in DIS, including comments inside list items and para elements. Per a comment from Volker in OCECDR-4508:

"First of all I'm guessing you would need an additional ticket to adjust the CSS for XMetaL because the comments aren't displayed properly, i.e. inside lists or a para level comment doesn't get displayed with the Comment-label or the green background."

Comment entered 2020-04-13 11:47:53 by Englisch, Volker (NIH/NCI) [C]

It appears that the Para element comments have already been corrected.  Those display correctly.

I will only need to address the comments within ListItem elements.

Comment entered 2020-04-13 13:25:09 by Englisch, Volker (NIH/NCI) [C]

The following CSS files have been updated for this ticket:

  • DrugInformationSummary.css

  • DrugInformationSummary_Structure.css

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

This is ready for review on DEV.

Comment entered 2020-04-17 10:29:23 by Osei-Poku, William (NIH/NCI) [C]

Verified on DEV. Thanks!

Comment entered 2020-05-07 13:18:31 by Juthe, Robin (NIH/NCI) [E]

This looks good to me on DEV too, although comments are allowed in other locations in the DIS that don't have CSS. (e.g., within table elements and itemized list elements). So we may want to address the CSS in those locations too in the future if we find we want to add comments in those locations as well.

Comment entered 2020-05-08 18:11:05 by Englisch, Volker (NIH/NCI) [C]

Comments within ListItem elements are already marked up correctly.  I've added the CSS for Comments within table cells.  The following files have been updated:

  • DrugInformationSummary.css

  • DrugInformationSummary.ctm

https://github.com/NCIOCPL/cdr-client/commit/30d73dab

Comment entered 2020-05-20 11:10:18 by Osei-Poku, William (NIH/NCI) [C]

Verified on DEV. Thanks!

Comment entered 2020-06-05 15:13:24 by Osei-Poku, William (NIH/NCI) [C]

Verified on QA. Thanks!

Elapsed: 0:00:00.001358