1
0
Fork 0
forgejo/templates
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
..
admin Remove duplicate "Max Diff Lines" from config view (#2987) 2017-11-27 06:56:50 +02:00
base Add Safari pinned tab icon (#2799) 2017-10-28 20:01:42 -05:00
explore Fix dropdown menu position on explore repo (#2808) 2017-10-31 21:16:07 +02:00
mail Fix copy in email templates (#2801) 2017-10-29 23:57:05 +02:00
org Add dingtalk webhook (#2777) 2017-11-21 06:26:43 +02:00
repo Expandable commit bodies (#2980) 2017-11-30 13:08:40 +08:00
status Change import reference to match gitea instead of gogs (#37) 2016-11-03 10:29:56 -02:00
user Spaces to tabs in templates (#2953) 2017-11-21 13:43:00 +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