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
Show subtasks effort in detail view #755
base: master
Are you sure you want to change the base?
Conversation
client ->https-> proxy-server ->http-> flyspray-server generated links is not correct (generated protocol is http instead https). On proxy server apache we can modify config file:'RequestHeader set X-Forwarded-Proto https'
Could you please make 2 separate pull requests? The proxy stuff is a separate issue I would like to be handled separately (there are similiar requests on bugs.flyspray.org) |
@@ -390,6 +395,11 @@ public static function getTaskDetails($task_id, $cache_enabled = false) | |||
$get_details['assigned_to_name'] = $assignees[1]; | |||
} | |||
|
|||
global $proj; | |||
if($proj->prefs['use_effort_tracking']){ |
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.
We cannot use the global $proj in function getTaskDetails(). It is necessary to use the project_id of task and then check if that project has use_effort_tracking set.
Flyspray verze 1.0-rc10
@poucz: Have you progressed on this PR? |
No description provided.