-
Notifications
You must be signed in to change notification settings - Fork 177
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[timepoint_list][bugfix] 'View Candidate Info' button wasn't redirect…
…ing (#5233) Harmonize the "View/Edit Candidate Info" buttons on the timepoint list which went to the same URL and replace with a uniform "Candidate Info".
- Loading branch information
Showing
2 changed files
with
1 addition
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 1 addition & 7 deletions
8
modules/timepoint_list/templates/timepoint_list_controlpanel.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,5 @@ | ||
|
||
{if $isDataEntryPerson} | ||
<a class="btn btn-default" role="button" href="{$baseurl}/create_timepoint/?candID={$candID}&identifier={$candID}">Create time point</a> | ||
<a class="btn btn-default" role="button" href="{$baseurl}/candidate_parameters/?candID={$candID}&identifier={$candID}">Candidate Info</a> | ||
{/if} | ||
{if $isDataEntryPerson} | ||
{if $candidate_parameters_edit} | ||
<a class="btn btn-default" role="button" href="{$baseurl}/candidate_parameters/?candID={$candID}&identifier={$candID}">Edit Candidate Info</a> | ||
{elseif $candidate_parameters_view} | ||
<button class="btn btn-default" role="button" href="{$baseurl}/candidate_parameters/?candID={$candID}&identifier={$candID}">View Candidate Info</button> | ||
{/if} | ||
{/if} |