You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Lunny Xiao 783a021889
Never use /api/v1 from Gitea UI Pages (#19318)
Reusing `/api/v1` from Gitea UI Pages have pros and cons.
Pros:
1) Less code copy

Cons:
1) API/v1 have to support shared session with page requests.
2) You need to consider for each other when you want to change something about api/v1 or page.

This PR moves all dependencies to API/v1 from UI Pages.

Partially replace #16052
2 years ago
..
labels Add dropdown icon to template loading dropdown (#18564) 2 years ago
view_content Never use /api/v1 from Gitea UI Pages (#19318) 2 years ago
branch_selector_field.tmpl Add option to define refs in issue templates (#17842) 3 years ago
choose.tmpl Use the new/choose link for New Issue on project page (#19172) 2 years ago
comment_tab.tmpl Add attachments for PR reviews (#16075) 3 years ago
label_precolors.tmpl Fix purple color in suggested label colors (#18241) 3 years ago
labels.tmpl Add class to page content to unify top margin (#13766) 4 years ago
list.tmpl Multiple Escaping Improvements (#17551) 3 years ago
milestone_issues.tmpl Refactor i18n, use Locale to provide i18n/translation related functions (#18648) 2 years ago
milestone_new.tmpl Add class to page content to unify top margin (#13766) 4 years ago
milestones.tmpl Refactor i18n, use Locale to provide i18n/translation related functions (#18648) 2 years ago
navbar.tmpl Search bar for issues/pulls (#530) 8 years ago
new.tmpl Add class to page content to unify top margin (#13766) 4 years ago
new_form.tmpl Redirect on project after issue created (#17211) 3 years ago
openclose.tmpl Markdown and Repo header tweaks (#13744) 4 years ago
search.tmpl Disable search box autofocus on issue/pr pages (#12229) 4 years ago
view.tmpl Multiple Escaping Improvements (#17551) 3 years ago
view_content.tmpl Refactor i18n, use Locale to provide i18n/translation related functions (#18648) 2 years ago
view_title.tmpl Refactor i18n, use Locale to provide i18n/translation related functions (#18648) 2 years ago