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
wth - Additional Detail Submissions Table Improvement #859
wth - Additional Detail Submissions Table Improvement #859
Conversation
@@ -22,16 +22,18 @@ | |||
.panel.panel-default | |||
.panel-heading | |||
%h4.panel-title | |||
Additional Detail Submissions | |||
Completed Forms |
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.
Can you YMLize the text in this table?
- if submission.created_at == submission.updated_at | ||
= submission.created_at.strftime("%m/%d/%Y") | ||
- else | ||
= submission.updated_at.to_date("%m/%d/%Y") |
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.
Aren't created_at
and updated_at
the same type? Just curious about why different date formatting methods are being used (strftime
and to_date
).
c46f3c3
to
c2f7cfd
Compare
Made changes to Submissions table in Dashboard. Changed name, removed ID column, added display_id for Protocol-SSR, and added date of completion/update. [#136797607]
c2f7cfd
to
9638ec7
Compare
Made changes to Submissions table in Dashboard. Changed name, removed ID
column, added display_id for Protocol-SSR, and added date of
completion/update. [#136797607]