forgejo/templates/repo
Sondre Nilsen 86ee41ec03 Expandable commit bodies (#2980)
* Initial working state of expandable commit bodies

* Fix all commits having showing button for multiline commits

* Refactor checking multiline messages method

* Force newlines with <br> in commit body

* Show multiple lines in the list view of repositories

* Fixed proper newlines and minor refactor

Use <pre> instead of <p>, this is so we can use \n instead of having to manually place <br> into the HTML. Makes it easier to display commit bodies.

* Fix commit list messages jumping around

* Fix indentation in view_list.tmpl

* Use vertical-align: baseline instead of top

* Refactor commit button toggle function

* Remove RenderCommitBodyLink function

* Add comments

* Add newline at the end of _repository.less

* Fix long commit bodies not properly wrapping inside <pre>

* Don't split on double newlines

* Show the commit body in commit view

* Update stylesheets

* Add/fix comments and run make fmt

* Fix spaces not being tabs
2017-11-30 13:08:40 +08:00
..
branch
diff Expandable commit bodies (#2980) 2017-11-30 13:08:40 +08:00
editor
issue Fix over-escaped characters (#2956) 2017-11-22 15:09:48 +08:00
pulls
release
settings
wiki Removed unused field in form (#3023) 2017-11-29 22:52:34 +02:00
activity.tmpl
bare.tmpl
branch_dropdown.tmpl
commit_status.tmpl Spaces to tabs in templates (#2953) 2017-11-21 13:43:00 +08:00
commits.tmpl
commits_table.tmpl Expandable commit bodies (#2980) 2017-11-30 13:08:40 +08:00
create.tmpl
forks.tmpl
graph.tmpl
header.tmpl
home.tmpl
migrate.tmpl
search.tmpl
sub_menu.tmpl
user_cards.tmpl
view_file.tmpl
view_list.tmpl Expandable commit bodies (#2980) 2017-11-30 13:08:40 +08:00
watchers.tmpl