Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.
Hello,
in Gantt view, it will be great to show milestone name like activity name on bars.
So we can produce synthetic view for milestones for a group or all project.
Regards,
Also capability to add milestone in timeline will be usefull so we can produce a full timeline for a specific view in project, usefull for présentations out of ProjeQtOr.
Doing this to show name of milestone in Gantt (also change a little size of done milestone and recorded milestone for more visibility) in jsgantt.js (line 1669 and below) :
// Modified by JMMBB
// Show name of mileStone in Gantt if showTaskNameOnPlanning is set to "yes"
if (vTaskStart && vTaskEnd && Date.parse(vMaxDate)>=Date.parse(vTaskList.getEnd())) {
// Construc visual for milestone
const mileIcon = vTaskList.getCompVal() < 100 ? '◊' : '♦';
// Get size for visuals, diamond is little bigger that losange for better render
const mileIconSize = vTaskList.getCompVal() < 100 ? '1.6rem' : '2rem';
// Show visual
vRightTableTempMile += '' + mileIcon + '' ;
// If showTaskNameOnPlanning; add a sapn to show name of milestone with a smaller font size (80%)
if(showTaskNameOnPlanningBar==1) {
vRightTableTempMile += '' + vTaskList.getNameTitle() + '' ;
}
// Close div
vRightTableTempMile += '
';
@Babynus : it's not really me, it's my son who change the code for me, you remember the young developer meet in Open Source Forum in Paris ? 🙂
Work on V11.1.3 (not V 13 🙂 !)
Thnaks for sharing the code.
Added as note on the ticket to ease developer work