gitea/templates/repo
Lanre Adelowo 9d8178b3ac Add option to close issues via commit on a non master branch (#5992)
* fixes #5957

* add tests to make sure config option is respected

* use already defined struct

* - use migration to make the flag repo wide not for the entire gitea instance
Also note that the config value can still be set so as to be able to control the value for new repositories that are to be created

- fix copy/paste error in copyright header year and rearrange import

- use repo config instead of server config value to determine if a commit should close an issue

- update testsuite

* use global config only when creating a new repository

* allow repo admin toggle feature via UI

* fix typo and improve testcase

* fix fixtures

* add DEFAULT prefix to config value

* fix test
2019-02-10 21:27:19 +02:00
..
branch Display branch name in delete branch confirmation modal. (#5654) 2019-01-06 15:08:25 -05:00
diff Display the branch name in the commit view (#5950) 2019-02-05 21:47:01 +00:00
editor Fix file edit change preview functionality (#5300) 2018-11-09 14:05:43 +02:00
issue Enhance closed PR and Issue status in the list (#6000) 2019-02-08 07:53:58 +00:00
pulls Fix some issues with special chars in branch names (#3767) 2018-09-17 01:28:23 +03:00
release Added URL mapping for Release attachments like on github.com (#1707) 2019-01-06 17:37:30 -05:00
settings Add option to close issues via commit on a non master branch (#5992) 2019-02-10 21:27:19 +02:00
wiki Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
activity.tmpl Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
branch_dropdown.tmpl Escape branch name in dropdown menu (#3691) 2018-03-19 22:29:16 +08:00
commit_status.tmpl Add noreferrer to rel='noopener` for <a> tags (#4328) 2018-07-03 19:52:36 -04:00
commits.tmpl Responsive view (#2750) 2017-12-30 18:47:52 -06:00
commits_table.tmpl Fix some issues with special chars in branch names (#3767) 2018-09-17 01:28:23 +03:00
create.tmpl Fix typos in i18n variable names. (#4080) 2018-07-04 19:43:21 +08:00
empty.tmpl Feature: Archive repos (#5009) 2019-01-23 13:58:38 -05: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 UI: Repo header tweaks (#5945) 2019-02-05 16:59:26 -05:00
home.tmpl UI: Repo header tweaks (#5945) 2019-02-05 16:59:26 -05:00
migrate.tmpl Fix typos in i18n variable names. (#4080) 2018-07-04 19:43:21 +08:00
search.tmpl Don't warn users about *every* dirty form (#3707) 2018-03-23 22:10:42 +08:00
sub_menu.tmpl Refactor repo.isBare to repo.isEmpty #5629 (#5714) 2019-01-17 19:01:04 -05:00
user_cards.tmpl Add noreferrer to rel='noopener` for <a> tags (#4328) 2018-07-03 19:52:36 -04:00
view_file.tmpl Serve audio files using HTML5 audio tag (#5221) 2018-10-30 10:17:26 +08:00
view_list.tmpl Symlink icons (#1416) (#3826) 2018-05-01 10:04:36 +03:00
watchers.tmpl #1692 APIs: Users Followers 2015-12-21 04:24:11 -08:00