Skip to content
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

Merged

Conversation

wtholt
Copy link
Contributor

@wtholt wtholt commented Jan 4, 2017

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]

@@ -22,16 +22,18 @@
.panel.panel-default
.panel-heading
%h4.panel-title
Additional Detail Submissions
Completed Forms
Copy link
Contributor

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")
Copy link
Contributor

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).

@wtholt wtholt force-pushed the wth-additional-detail-submission-table-improvement branch 2 times, most recently from c46f3c3 to c2f7cfd Compare January 5, 2017 14:36
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]
@wtholt wtholt force-pushed the wth-additional-detail-submission-table-improvement branch from c2f7cfd to 9638ec7 Compare January 5, 2017 15:10
@jleonardw9 jleonardw9 merged commit 59710b4 into master Jan 10, 2017
@jleonardw9 jleonardw9 deleted the wth-additional-detail-submission-table-improvement branch January 10, 2017 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants