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>
2023-08-12 10:30:28 +00:00
..
admin Remove unnecessary template helper DisableGravatar (#26386) 2023-08-08 08:29:14 +00:00
api/packages/pypi Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00
base Use template context function for avatar rendering (#26385) 2023-08-10 11:19:39 +08:00
code Fix inconsistent user profile layout across tabs (#25625) 2023-07-06 18:59:24 +00:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
devtest Introduce flex-list & flex-item elements for Gitea UI (#25790) 2023-08-01 00:13:42 +02:00
explore remove unnecessary explore org template (#26459) 2023-08-11 16:07:04 -04:00
mail Add template linting via djlint (#25212) 2023-06-14 18:17:58 +00:00
org Count only visible repos on profile (#25928) 2023-08-11 13:08:05 -04:00
package Use flex classes in package settings (#26314) 2023-08-08 18:28:24 +02:00
projects Refactor project templates (#26448) 2023-08-12 10:30:28 +00:00
repo Refactor project templates (#26448) 2023-08-12 10:30:28 +00:00
shared Fix URL of padlock icon in profile (#26446) 2023-08-11 17:40:38 +00:00
status Replace fomantic divider module with our own (#25539) 2023-06-29 20:24:22 +08:00
swagger Doc update swagger doc for POST /orgs/{org}/teams (#26155) 2023-07-26 10:22:56 +00:00
user Count only visible repos on profile (#25928) 2023-08-11 13:08:05 -04:00
home.tmpl Improve home page template, fix Sort dropdown menu flash (#23856) 2023-04-01 13:47:54 +08:00
install.tmpl Show correct SSL Mode on "install page" (#25818) 2023-07-11 18:09:23 -04:00
post-install.tmpl Remove incorrect element ID on "post-install" page (#25104) 2023-06-08 12:23:39 +08:00