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
Hester Gong 5482602ba8
Add cardtype to org/user level project on creation, edit and view (#24043) (#24066)
Backport #24043 

Part of #23318

The way to fix the missing cardtype for user/org level projects in this
PR is to port the cardtype related part from #22112 to org/user level
projects' template and router functions.

Before:
<img width="1135" alt="截屏2023-04-11 13 55 49"
src="https://user-images.githubusercontent.com/17645053/231069068-ba897129-ae90-4aa0-9b0f-468bf5c65375.png">

<img width="1131" alt="截屏2023-04-11 13 55 59"
src="https://user-images.githubusercontent.com/17645053/231069084-279f6681-5a10-42da-b5a8-2b0ba47c7078.png">


After:
Create
<img width="835" alt="截屏2023-04-11 13 27 16"
src="https://user-images.githubusercontent.com/17645053/231064445-0d6e12bd-5725-48db-a102-80e7472757c2.png">

Edit
<img width="852" alt="截屏2023-04-11 13 27 05"
src="https://user-images.githubusercontent.com/17645053/231064503-c70525cd-1038-43ec-8d93-8b8d95d183d4.png">

View
<img width="1329" alt="截屏2023-04-11 13 26 56"
src="https://user-images.githubusercontent.com/17645053/231064529-26023c85-698b-4b2e-af02-45f9820c77ec.png">

---------

Co-authored-by: silverwind <me@silverwind.io>
2 years ago
..
admin Convert .Source.SkipVerify to $cfg.SkipVerify (#23839) (#23899) 2 years ago
api/packages/pypi Add Package Registry (#16510) 3 years ago
base Fix `aria.js` bugs: incorrect role element problem, mobile focus problem, tippy problem (#23450) (#23486) 2 years ago
code Fix 'View File' button in code search (#23478) (#23483) 2 years ago
custom Add footer extra links template (#9576) 5 years ago
explore Add ONLY_SHOW_RELEVANT_REPOS back, fix explore page bug, make code more strict (#23766) (#23791) 2 years ago
mail Revert relative links to absolute links in mail templates (#23267) (#23269) 2 years ago
org Org pages style fixes (#23901) (#23914) 2 years ago
package fix: do not escape space between PyPI repository url and package name… (#23981) (#24008) 2 years ago
projects Add cardtype to org/user level project on creation, edit and view (#24043) (#24066) 2 years ago
repo Discolor pull request tab labels (#23950) (#23987) 2 years ago
shared Fix due date being wrong on issue list (#23475) (#23477) 2 years ago
status Move helpers to be prefixed with `gt-` (#22879) 2 years ago
swagger Use User.ID instead of User.Name in ActivityPub API for Person IRI (#23823) (#23905) 2 years ago
user Remove row clicking from notification table (#22695) (#23706) 2 years ago
home.tmpl Add main landmark to templates and adjust titles (#22670) 2 years ago
install.tmpl Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950) 2 years ago
post-install.tmpl Fix various bugs for "install" page (#23194) (#23286) 2 years ago