Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions modules/timepoint_list/templates/menu_timepoint_list.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@
{$edc_age}
</td>
<td>
{$candidate.Sex}
{dgettext("sex", $candidate.Sex)}
</td>
<td>
{$candidate.ProjectTitle}
{dgettext("Project", $candidate.ProjectTitle)}
</td>
{foreach from=$candidate.DisplayParameters item=value key=name}
<td>
Expand Down Expand Up @@ -84,13 +84,13 @@
<tr>
<td>
<a href="{$baseurl|default}/instrument_list/?candID={$candID}&sessionID={$timePoints[timepoint].SessionID}">
{$timePoints[timepoint].Visit_label}
{dgettext("visit", $timePoints[timepoint].Visit_label)}
</a>
</td>
<td>{$timePoints[timepoint].CohortTitle}</td>
<td>{dgettext("cohort", $timePoints[timepoint].CohortTitle)}</td>

<td>{$timePoints[timepoint].SiteAlias}</td>
<td>{$timePoints[timepoint].ProjectName}</td>
<td>{dgettext("psc", $timePoints[timepoint].SiteName)}</td>
<td>{dgettext("Project", $timePoints[timepoint].ProjectName)}</td>

{if $timePoints[timepoint].staticStage|default != "" || $timePoints[timepoint].Current_stage == "Not Started"}
<td colspan="3">{dgettext("loris", $timePoints[timepoint].Current_stage)}</td>
Expand Down Expand Up @@ -155,9 +155,9 @@
<td>
{$timePoints[timepoint].Real_name}
</td>
<td>
<td>
{$timePoints[timepoint].language->label}
</td>
</td>
</tr>
{sectionelse}
<tr><td colspan="10">{dgettext("timepoint_list", "You do not have access to any timepoints registered for this candidate.")}</td></tr>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class TimepointListIntegrationTest extends LorisIntegrationTestWithCandidate
private static $_TST0001_SESSION = [
'Test',
'',
'DCC',
'Data Coordinating Center',
'Pumpernickel',
'Not Started',
'-',
Expand Down
1 change: 1 addition & 0 deletions php/libraries/TimePoint.class.inc
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ class TimePoint implements \LORIS\StudyEntities\AccessibleResource,
s.registeredBy, s.UserID, u.Real_name, s.Hardcopy_request,
s.BVLQCStatus, s.BVLQCType, s.BVLQCExclusion, s.Scan_done,
pr.Name as ProjectName, p.Alias as SiteAlias,
p.Name as SiteName,
s.ProjectID as ProjectID,
l.language_code as LanguageCode,
l.language_label as LanguageLabel
Expand Down
Loading