redmine-view-customize-scripts icon indicating copy to clipboard operation
redmine-view-customize-scripts copied to clipboard

Hint to the user to change the tracker when creating a sub-task

Open saifabood opened this issue 3 years ago • 3 comments

by appear pop msg to the user OR change colour or background the page To give an idea to the user is now under any misleading

saifabood avatar Oct 13 '22 17:10 saifabood

I think you can determine if the query parameter has parent_issue_id to determine if it is a subtask addition or not.

if (new URL(location).searchParams.get('issue[parent_issue_id]') != null) {
  $('#issue_tracker_id').parent().append($('<span style="color:red">Please change the Tracker.</span>'));
}

99

Thanks.

onozaty avatar Oct 17 '22 13:10 onozaty

i like your idea about the hint, if u can change background_image or background-color when user change the tracker

saifabood avatar Oct 17 '22 21:10 saifabood

Does this mean that if the tracker is changed, the message will be cleared?

I feel like this is becoming a JavaScript or HTML question, not a question about View customize. If you have some code that you have tried, it might be easier to advise if you share it with me.

In the first place, if the tracker is cleared when the sub task is created, is there no need for a hint?

onozaty avatar Oct 18 '22 14:10 onozaty

This issue is stale because it has been open for 60 days with no activity.

github-actions[bot] avatar Dec 18 '22 01:12 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Jan 01 '23 02:01 github-actions[bot]