gitroast/templates
Jonas Franz 8d5f58d834 Shows total tracked time in issue and milestone list (#3341)
* Show total tracked time in issue and milestone list
Show total tracked time at issue page

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Optimizing TotalTimes by using SumInt

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Fixing wrong total times for milestones caused by a missing JOIN
Adding unit tests for total times

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Logging error instead of ignoring it

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Correcting spelling mistakes

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Change error message to a short version

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Add error handling to TotalTimes
Add variable for totalTimes

Signed-off-by: Jonas Franz <info@jonasfranz.de>

* Introduce TotalTrackedTimes as variable of issue
Load TotalTrackedTimes by loading attributes of IssueList
Load TotalTrackedTimes by loading attributes of single issue
Add Sec2Time as helper to use it in templates

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Fixed test + gofmt

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Load TotalTrackedTimes via MilestoneList instead of single requests

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Add documentation for MilestoneList

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Add documentation for MilestoneList

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Fix test

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Change comment from SQL query to description

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Fix unit test by using int64 instead of int

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Fix unit test by using int64 instead of int

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Check if timetracker is enabled

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Fix test by enabling timetracking

Signed-off-by: Jonas Franz <info@jonasfranz.de>
2018-04-29 13:58:47 +08:00
..
admin Add EnableTimetracking option to app settings (#3719) 2018-04-09 23:15:32 +08:00
base Rework special link parsing in the post-processing of markup (#3354) 2018-02-27 09:09:18 +02:00
custom Templates for extra links in top navbar and repo tool tabs. (#3308) 2018-01-10 08:19:50 +02:00
explore Add topic support (#3711) 2018-04-11 10:51:44 +08:00
mail Mention the possibility of resetting the password for new accounts (#3812) 2018-04-19 09:08:51 +08:00
org Don't warn users about *every* dirty form (#3707) 2018-03-23 22:10:42 +08:00
repo Shows total tracked time in issue and milestone list (#3341) 2018-04-29 13:58:47 +08:00
status Change import reference to match gitea instead of gogs (#37) 2016-11-03 10:29:56 -02:00
user Shows total tracked time in issue and milestone list (#3341) 2018-04-29 13:58:47 +08:00
home.tmpl Spaces to tabs in templates (#2953) 2017-11-21 13:43:00 +08:00
install.tmpl Spaces to tabs in templates (#2953) 2017-11-21 13:43:00 +08:00
swagger.tmpl Spaces to tabs in templates (#2953) 2017-11-21 13:43:00 +08:00