forkjo/routers
iszla 3f9016430f Pagination on releases page (#2035)
* Added count to GetReleasesByRepoID so pagination will work

* Separated it out to a new function, can then also leave the API part unaffected

* Remove extra whitespace added in untouched function

* Added comment and corrected name in error handler

* Account for if the user is owner or not in the count

* Also check if repo is draft

* revert back to the correct count in the ReleasesToDisplay loop

* Fixed lint error regarding else with return statement

* Use Cond struct instead of string, corrected name in error handler

* Removed unused return variable names
2017-06-28 22:47:00 +08:00
..
admin Make time diff translatable (#2057) 2017-06-28 13:43:28 +08:00
api/v1 Integration tests for issues API (#2059) 2017-06-25 22:51:07 +08:00
dev Make time diff translatable (#2057) 2017-06-28 13:43:28 +08:00
org fix bug to deny to add orgnization as a member of an orgnization or team (#1815) 2017-05-26 08:12:02 -05:00
private fix bug when push a branch name with / & fix an integration test bug (#1689) 2017-05-08 10:55:27 +08:00
repo Pagination on releases page (#2035) 2017-06-28 22:47:00 +08:00
routes Make branch deletion URL more like GitHub's, fixes #1397 (#1994) 2017-06-21 09:00:03 +08:00
user Make time diff translatable (#2057) 2017-06-28 13:43:28 +08:00
home.go Generate swagger json (#1402) 2017-05-02 15:35:59 +02:00
init.go Sanitation fix from Gogs (#1461) 2017-04-13 10:52:24 +08:00
install.go fix misspell (#1996) 2017-06-18 08:30:04 +08:00