forkjo/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 Add branch overiew page (#2108) 2017-10-26 08:49:16 +08:00
diff Expandable commit bodies (#2980) 2017-11-30 13:08:40 +08:00
editor Make URL scheme unambiguous (#2408) 2017-10-30 10:04:25 +08:00
issue Fix over-escaped characters (#2956) 2017-11-22 15:09:48 +08:00
pulls Fix so that user can still fork his own repository to owned organizations (#2699) 2017-10-15 18:06:07 +03:00
release Make URL scheme unambiguous (#2408) 2017-10-30 10:04:25 +08:00
settings Add dingtalk webhook (#2777) 2017-11-21 06:26:43 +02:00
wiki Removed unused field in form (#3023) 2017-11-29 22:52:34 +02:00
activity.tmpl Fix activity css conflit with semantic ui (#2758) 2017-10-21 18:07:06 -02:00
bare.tmpl Only show SSH clone URL if signed in (#2169) (#2170) 2017-07-15 22:21:51 +08:00
branch_dropdown.tmpl Fix new branch creation to new url scheme (#2884) 2017-11-10 19:32:46 -06:00
commit_status.tmpl Spaces to tabs in templates (#2953) 2017-11-21 13:43:00 +08:00
commits.tmpl Add branch overiew page (#2108) 2017-10-26 08:49:16 +08:00
commits_table.tmpl Expandable commit bodies (#2980) 2017-11-30 13:08:40 +08:00
create.tmpl Dropped link to Gogs docs from template 2016-11-07 14:49:25 +01:00
forks.tmpl #3348 always use relative avatar link in the template 2016-08-05 12:12:54 -07:00
graph.tmpl Fix issue link rendering in commit messages (#2897) 2017-11-13 09:35:55 +08:00
header.tmpl Add branch overiew page (#2108) 2017-10-26 08:49:16 +08:00
home.tmpl fix click create pull request button 404 (#2859) 2017-11-05 21:11:35 +02:00
migrate.tmpl Add notice that LFS mirroring is not supported (#1251) 2017-03-16 19:33:22 +08:00
search.tmpl Code/repo search (#2582) 2017-10-27 09:10:54 +03:00
sub_menu.tmpl Fix commits page url (#2823) 2017-11-02 08:30:19 +08:00
user_cards.tmpl Added rel="noopener" to target="_blank" hrefs (#327) 2016-12-02 09:12:16 +08:00
view_file.tmpl Make URL scheme unambiguous (#2408) 2017-10-30 10:04:25 +08:00
view_list.tmpl Expandable commit bodies (#2980) 2017-11-30 13:08:40 +08:00
watchers.tmpl #1692 APIs: Users Followers 2015-12-21 04:24:11 -08:00