Add in helpful shortcuts menu to issue due dates
This commit is contained in:
@@ -476,6 +476,14 @@ class IDF_Views_Issue
|
||||
'preview' => $preview,
|
||||
'issue' => new IDF_Issue(),
|
||||
'date_today' => date('Y-m-d'),
|
||||
'date_tomorrow' => date('Y-m-d', strtotime('tomorrow')),
|
||||
'date_eow' => date('Y-m-d', strtotime('next friday')),
|
||||
'date_eom' => date('Y-m-d', strtotime('last day of this month')),
|
||||
'date_2_hours' => date('Y-m-d H:i', strtotime('+2 hours')),
|
||||
'date_2_days' => date('Y-m-d', strtotime('+2 days')),
|
||||
'date_1_week' => date('Y-m-d', strtotime('+1 week')),
|
||||
'date_two_weeks' => date('Y-m-d', strtotime('+2 week')),
|
||||
'date_one_month' => date('Y-m-d', strtotime('+1 month')),
|
||||
'default_time' => Pluf::f('issue_default_due_date_time'),
|
||||
),
|
||||
self::autoCompleteArrays($prj)
|
||||
@@ -715,6 +723,14 @@ class IDF_Views_Issue
|
||||
'next_issue_id' => $next_issue_id,
|
||||
'related_issues' => $related_issues,
|
||||
'date_today' => date('Y-m-d'),
|
||||
'date_tomorrow' => date('Y-m-d', strtotime('tomorrow')),
|
||||
'date_eow' => date('Y-m-d', strtotime('next friday')),
|
||||
'date_eom' => date('Y-m-d', strtotime('last day of this month')),
|
||||
'date_2_hours' => date('Y-m-d H:i', strtotime('+2 hours')),
|
||||
'date_2_days' => date('Y-m-d', strtotime('+2 days')),
|
||||
'date_1_week' => date('Y-m-d', strtotime('+1 week')),
|
||||
'date_two_weeks' => date('Y-m-d', strtotime('+2 week')),
|
||||
'date_one_month' => date('Y-m-d', strtotime('+1 month')),
|
||||
'default_time' => Pluf::f('issue_default_due_date_time'),
|
||||
),
|
||||
$arrays),
|
||||
|
Reference in New Issue
Block a user