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.
forgejo/templates
Denys Konovalov ab78c39e41
Refactor project templates (#26448)
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:
![Bildschirmfoto vom 2023-08-10
23-02-00](https://github.com/go-gitea/gitea/assets/47871822/cab61456-1d23-4373-8163-e567f1b3b5f9)
![Bildschirmfoto vom 2023-08-10
23-02-26](https://github.com/go-gitea/gitea/assets/47871822/94b55d60-5572-48eb-8111-538a52d8bcc6)
![Bildschirmfoto vom 2023-08-10
23-02-46](https://github.com/go-gitea/gitea/assets/47871822/a0358f4b-4e05-4194-a7bc-6e0ecba5a9b6)

---------

Co-authored-by: silverwind <me@silverwind.io>
12 months ago
..
admin Remove unnecessary template helper DisableGravatar (#26386) 12 months ago
api/packages/pypi Remove incorrect HTML self close tag (#23748) 1 year ago
base Use template context function for avatar rendering (#26385) 12 months ago
code Fix inconsistent user profile layout across tabs (#25625) 1 year ago
custom Add footer extra links template (#9576) 5 years ago
devtest Introduce `flex-list` & `flex-item` elements for Gitea UI (#25790) 1 year ago
explore remove unnecessary explore org template (#26459) 12 months ago
mail Add template linting via djlint (#25212) 1 year ago
org Count only visible repos on profile (#25928) 12 months ago
package Use flex classes in package settings (#26314) 12 months ago
projects Refactor project templates (#26448) 12 months ago
repo Refactor project templates (#26448) 12 months ago
shared Fix URL of padlock icon in profile (#26446) 12 months ago
status Replace fomantic divider module with our own (#25539) 1 year ago
swagger Doc update swagger doc for POST /orgs/{org}/teams (#26155) 1 year ago
user Count only visible repos on profile (#25928) 12 months ago
home.tmpl Improve home page template, fix Sort dropdown menu flash (#23856) 1 year ago
install.tmpl Show correct SSL Mode on "install page" (#25818) 1 year ago
post-install.tmpl Remove incorrect element ID on "post-install" page (#25104) 1 year ago