Loading

Change Days Left to Due Date

Get help with problems, or report & discuss bugs in Collabtive

Change Days Left to Due Date

Postby mroughton » 09.04.2012, 23:01

I have found the code where to change the column title of Days Left to Due Date but I am looking for the code to change the amount of days left to the actual due date.

Please help!
mroughton
 
Posts: 11
Joined: 05.04.2012, 23:19

Re: Change Days Left to Due Date

Postby some person » 12.04.2012, 01:21

As you were not clear, I am going to assume you are trying to change this for project tasks. If so, then you can do that by editing projecttasks.tpl, found in templates/standard directory.

In projecttasks.tpl you need change <td style="text-align:right">{$lists[list].tasks[task].daysleft}&nbsp;&nbsp;</td> to <td style="text-align:right">{$lists[list].tasks[task].endstring}&nbsp;&nbsp;</td>

and for finished tasks change <td class="days" style="text-align:right">{$lists[list].oldtasks[oldtask].daysleft}&nbsp;&nbsp;</td> to <td class="days" style="text-align:right">{$lists[list].oldtasks[oldtask].endstring}&nbsp;&nbsp;</td>
Have any Bitcoins (http://weusecoins.com) found my post helpful, you can send a tip to the following bitcoin address found on http://btc.to/a9n.
some person
 
Posts: 363
Joined: 16.04.2011, 12:46


Return to Problems and Bugs

Who is online

Users browsing this forum: Bing [Bot], Google [Bot]

cron