summaryrefslogtreecommitdiffstats
path: root/templates/repo/graph.tmpl
Commit message (Collapse)AuthorAgeFilesLines
* Add whitespace removal inside template curly brackes (#20853)silverwind2022-08-251-2/+2
|
* Refactor `i18n` to `locale` (#20153)Gusted2022-06-271-5/+5
| | | | | | | | | | | * Refactor `i18n` to `locale` - Currently we're using the `i18n` variable naming for the `locale` struct. This contains locale's specific information and cannot be used for general i18n purpose, therefore refactoring it to `locale` makes more sense. - Ref: https://github.com/go-gitea/gitea/pull/20096#discussion_r906699200 * Update routers/install/install.go
* Re-separate the color translation strings (#17390)zeripath2021-10-211-1/+1
| | | | | Fix #17384 Signed-off-by: Andrew Thornton <art27@cantab.net>
* Kanban colored boards (#16647)Romain2021-09-291-1/+1
| | | Add a column Color in ProjectBoard and color picker in new / edit project board form.
* Add class to page content to unify top margin (#13766)silverwind2020-11-301-1/+1
| | | | | | | | | | | | | | | | | | | * Add class to page content to unify top margin Previously pages would individually set this margin but some didn't so content would stick to the header without any space. Resolve this by adding a new class that is added on all pages. The only place where we remove this margin again is on the pages with menu or wrapper in the header. * fix admin notices * fix team pages * fix loading segment on gitgraph for arc-green * fix last missing case Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* Multiple GitGraph improvements: Exclude PR heads, Add branch/PR links, Show ↵zeripath2020-11-081-49/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | only certain branches, (#12766) * Multiple GitGraph improvements. Add backend support for excluding PRs, selecting branches and files. Fix #10327 Signed-off-by: Andrew Thornton <art27@cantab.net> * as per @silverwind Signed-off-by: Andrew Thornton <art27@cantab.net> * as per @silverwind Signed-off-by: Andrew Thornton <art27@cantab.net> * Only show refs in dropdown we display on the graph Signed-off-by: Andrew Thornton <art27@cantab.net> * as per @silverwind Signed-off-by: Andrew Thornton <art27@cantab.net> * use flexbox for ui header Signed-off-by: Andrew Thornton <art27@cantab.net> * Move Hide Pull Request button to the dropdown Signed-off-by: Andrew Thornton <art27@cantab.net> * Add SHA and user pictures Signed-off-by: Andrew Thornton <art27@cantab.net> * fix test Signed-off-by: Andrew Thornton <art27@cantab.net> * fix test 2 Signed-off-by: Andrew Thornton <art27@cantab.net> * fixes * async * more tweaks * use tabs in tmpl Signed-off-by: Andrew Thornton <art27@cantab.net> * remove commented thing Signed-off-by: Andrew Thornton <art27@cantab.net> * fix linting Signed-off-by: Andrew Thornton <art27@cantab.net> * Update web_src/js/features/gitgraph.js Co-authored-by: silverwind <me@silverwind.io> * graph tweaks * more tweaks * add title Signed-off-by: Andrew Thornton <art27@cantab.net> * fix loading indicator z-index and position Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: techknowlogick <techknowlogick@gitea.io> Co-authored-by: Lauris BH <lauris@nix.lv>
* Make SVG size argument optional (#12814)silverwind2020-09-111-2/+2
| | | | | Now defaults to 16 on both frontend and backend. Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* Render the git graph on the server (#12333)zeripath2020-08-061-11/+34
| | | | | | | | | | | | | Rendering the git graph on the server means that we can properly track flows and switch from the Canvas implementation to a SVG implementation. * This implementation provides a 16 limited color selection * The uniqued color numbers are also provided * And there is also a monochrome version *In addition is a hover highlight that allows users to highlight commits on the same flow. Closes #12209 Signed-off-by: Andrew Thornton art27@cantab.net Co-authored-by: silverwind <me@silverwind.io>
* Handle multiple merges in gitgraph.js (#11996)zeripath2020-06-201-33/+31
| | | | | | | | | | | | | * Handle multiple merges in gitgraph.js There is a bug in web_src/js/vendor/gitgraph.js whereby it fails to handle multiple merges in a single commit correctly. This PR adds changes to make this work. Fix #11981 Signed-off-by: Andrew Thornton <art27@cantab.net> * Update web_src/js/vendor/gitgraph.js
* Remove last traces of has-emoji class (#11263)mrsdizzie2020-05-011-1/+1
| | | | | | Now that emojify.js has been removed, get rid of all instances of has-emoji class that was only used for that. Support for rendering shortcodes should remain in all of these places so it should still work the same. Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: Lauris BH <lauris@nix.lv>
* Add pagination to commit graph page (#8360)jaqra2019-10-141-0/+1
| | | Fixes #8308
* [Branch View] show "New Pull Request" Button only if posible (#7977)65432019-08-261-5/+0
| | | | | | | | * add check Commits Ahead is gt 0 * code format to start drone-ci test again and formate code is also nice :)
* Apply emoji on commit graph page (#7743)jaqra2019-08-041-1/+1
|
* Fix issue link rendering in commit messages (#2897)Ethan Koenig2017-11-131-1/+1
| | | | | | | | | | * Fix issue link rendering in commit messages * Update page.tmpl * No links for parens * remove comment
* Make issue in commit graph "clickable" (#1392)Morlinest2017-03-301-1/+1
|
* Minor improvements on commit graph UI (#1380)Andrey Nering2017-03-241-0/+1
| | | | | | * Make "Commit Graph" link a button and translate it * Add title on Commit Graph page
* add scroolbars to wide graphs. (#608)Kjell Kvinge2017-01-221-1/+1
| | | | | | * Add scrollbars to graph and revlist if needed. * Add border
* commithgraph / timeline (#428)Kjell Kvinge2016-12-291-0/+44
* Add model and tests for graph * Add route and router for graph * Add assets for graph * Add template for graph