issues
search
opentrials
/
opentrials-early-poc
A very early POC app for OpenTrials, just using a single source of data on schizophrenia.
MIT License
1
stars
0
forks
source link
Content fixes for Trial detail page
#28
Closed
pwalsh
closed
9 years ago
pwalsh
commented
9 years ago
Tasks
[x] Title area - just the title, not trial # and not the subheading of scientific title
[x] Sidebar, using relevant style elements from the design (use your judgement for decent layout)
[x] Countries: {trial.countries}
[x] Contacts: {trial.contacts}
[x] Source:
{source.title}
\n{source.name}\n{source.category}
[x] Main content (each is a section)
[x] Title: Interventions
[x] "This trial employed {COUNT} interventions: {UL of interventions}"
[x] Title: Outcomes
[x] "This trial records {COUNT} outcomes: {UL of outcomes}"
[x] Title: Reviews
[x] If None, then "This trial has no recorded reviews."
[x] Else ""This trial has {COUNT} reviews: {UL of reviews, where each review itself is a list of key: value in an unordered list}""
[x] style the review list a bit like the trial list on the home page
[x] Have a show/hide for each review abstract, as I guess some are long
[x] Title: Methods
[x] If None, then "This trial has no recorded methods."
[x] Else ""This trial employed {COUNT} methods: {UL of methods}""
[x] Title: Conditions
[x] If None, then "This trial has no recorded conditions."
[x] Else ""This trial targeted {COUNT} conditions: {UL of conditions}""
[x] Title: Documents
[x] If None, then "This trial has no additional documents."
[x] Else ""This trial has {COUNT} associated documents: {UL of documents, where each document itself is a list of key: value in an unordered list}""
[x] Please check all data, and let me know if I have missed anything here
kravets-levko
commented
9 years ago
PR
https://github.com/okfn/opentrials-prototype/pull/31
Tasks