Skip to content

Commit

Permalink
Merge pull request #1127 from all-of-us/sn/hpro-1103/patient-status-h…
Browse files Browse the repository at this point in the history
…istory-import-badge
  • Loading branch information
shyamzcode committed Jun 7, 2022
2 parents e70e1d1 + 6882e2c commit 1435387
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/Repository/PatientStatusRepository.php
Expand Up @@ -64,6 +64,7 @@ public function getOrgPatientStatusHistoryData($participantId, $organization)
psh.comments,
psh.status,
psh.created_ts,
psh.import_id,
s.name as site_name,
u.email as user_email
FROM patient_status ps
Expand Down
7 changes: 6 additions & 1 deletion templates/partials/patient-status-history-dl.html.twig
Expand Up @@ -7,7 +7,12 @@
<dt>Site</dt>
<dd>{{ field.site_name }}</dd>
<dt>Date</dt>
<dd>{{ field.created_ts|date('n/j/Y g:ia', app.user.timezone) }}</dd>
<dd>
{{ field.created_ts|date('n/j/Y g:ia', app.user.timezone) }}
{% if field.import_id %}
<span class="label label-primary">Imported</span>
{% endif %}
</dd>
<dt>Comments</dt>
<dd>{{ field.comments }}</dd>
</dl>
Expand Down

0 comments on commit 1435387

Please sign in to comment.