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.
gitea/templates/repo/issue
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>
2 years ago
..
fields Add validations.required check to dropdown field (#24849) 2 years ago
labels Several fixes for mobile UI (#25634) 2 years ago
milestone Improve dropdown menus, remove inline styles (#24954) 2 years ago
view_content Fix incorrect redirection in new issue using references (#26440) 2 years ago
branch_selector_field.tmpl Replace fomantic divider module with our own (#25539) 2 years ago
card.tmpl Refactor project templates (#26448) 2 years ago
choose.tmpl Replace fomantic divider module with our own (#25539) 2 years ago
comment_tab.tmpl Improve markdown editor: width, height, preferred (#23895) 2 years ago
filters.tmpl Use template context function for avatar rendering (#26385) 2 years ago
label_precolors.tmpl Fix purple color in suggested label colors (#18241) 3 years ago
labels.tmpl Add template linting via djlint (#25212) 2 years ago
list.tmpl Refactor project templates (#26448) 2 years ago
milestone_issues.tmpl move issue filters to shared template (#25729) 2 years ago
milestone_new.tmpl Fix margin on the `new/edit milestone` page (#25801) 2 years ago
milestones.tmpl Fix milestones deletion (#25583) 2 years ago
navbar.tmpl Fix UI on mobile view (#25315) 2 years ago
new.tmpl Make Issue/PR/projects more compact, misc CSS tweaks (#24459) 2 years ago
new_form.tmpl Use template context function for avatar rendering (#26385) 2 years ago
openclose.tmpl Make Issue/PR/projects more compact, misc CSS tweaks (#24459) 2 years ago
search.tmpl Introduce shared template for search inputs (#25338) 2 years ago
view.tmpl Make Issue/PR/projects more compact, misc CSS tweaks (#24459) 2 years ago
view_content.tmpl Use template context function for avatar rendering (#26385) 2 years ago
view_title.tmpl Show correct naming for 1 comment (#25704) 2 years ago