-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes coming from the openDS public review #7
Conversation
app/routes.py
Outdated
terms['examples'] = terms['examples'].str.replace(r'"', '').replace("'", "").replace("[", "").replace("]", "") | ||
terms['enum'] = terms['enum'].str.replace(r'"', '').replace("'", "").replace("[", "").replace("]", "") | ||
terms['definition'] = terms['definition'].str.replace(r'"', '').replace("'", "").replace("[", "").replace("]", "") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe make a function out of this as you are repeating the same action three times
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed the logic for definition as this is never an array
<tr> | ||
<th scope="row">Controlled Vocabulary</th> | ||
<td> | ||
<ul class="td-list"> | ||
{% for item in list1 %} | ||
<li><span>{{ item }}</span></li> | ||
{% endfor %} | ||
</ul> | ||
|
||
</td> | ||
</tr> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't know how this should look but often and elements are stored in separate (table rows)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm took this over from Latimer Core only made some small changes to it. Would like to keep this for now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I understand, just a generic HTML thing that is possible, but not recommended
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🥧
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🛞
One outstanding comment, not blocking
Will fix the following tickets:
Trying to keep the amount of PR's low, not to unnessecary burden.
But do like to keep an administration on which tickets I got