mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-11-10 11:14:20 +00:00
This PR refactors a bunch of projects-related code, mostly the
templates.
The following things were done:
- rename boards to columns in frontend code
- use the new `ctx.Locale.Tr` method
- cleanup template, remove useless newlines, classes, comments
- merge org-/user and repo level project template together
- move "new column" button into project toolbar
- move issue card (shared by projects and pinned issues) to shared
template, remove useless duplicated styles
- add search function to projects (to make the layout more similar to
milestones list where it is inherited from 😆)
- maybe more changes I forgot I've done 😆
Closes #24893
After:



---------
Co-authored-by: silverwind <me@silverwind.io>
|
||
|---|---|---|
| .. | ||
| fields | ||
| labels | ||
| milestone | ||
| view_content | ||
| branch_selector_field.tmpl | ||
| card.tmpl | ||
| choose.tmpl | ||
| comment_tab.tmpl | ||
| filters.tmpl | ||
| label_precolors.tmpl | ||
| labels.tmpl | ||
| list.tmpl | ||
| milestone_issues.tmpl | ||
| milestone_new.tmpl | ||
| milestones.tmpl | ||
| navbar.tmpl | ||
| new.tmpl | ||
| new_form.tmpl | ||
| openclose.tmpl | ||
| search.tmpl | ||
| view.tmpl | ||
| view_content.tmpl | ||
| view_title.tmpl | ||