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
puni9869 cafce3b4b5
Allow to archive labels (#26478)
## Archived labels 

This adds the structure to allow for archived labels.
Archived labels are, just like closed milestones or projects, a medium to hide information without deleting it.
It is especially useful if there are outdated labels that should no longer be used without deleting the label entirely.

## Changes

1. UI and API have been equipped with the support to mark a label as archived
2. The time when a label has been archived will be stored in the DB

## Outsourced for the future

There's no special handling for archived labels at the moment.
This will be done in the future.

## Screenshots

![image](https://github.com/go-gitea/gitea/assets/80308335/208f95cd-42e4-4ed7-9a1f-cd2050a645d4)

![image](https://github.com/go-gitea/gitea/assets/80308335/746428e0-40bb-45b3-b992-85602feb371d)

Part of https://github.com/go-gitea/gitea/issues/25237

---------

Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
11 months ago
..
admin Remove unnecessary template helper DisableGravatar (#26386) 11 months ago
api/packages/pypi Remove incorrect HTML self close tag (#23748) 1 year ago
base Use template context function for avatar rendering (#26385) 11 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) 11 months ago
explore remove unnecessary explore org template (#26459) 11 months ago
mail Add template linting via djlint (#25212) 1 year ago
org Count only visible repos on profile (#25928) 11 months ago
package Use flex classes in package settings (#26314) 11 months ago
projects fix grab cursor on default column (#26476) 11 months ago
repo Allow to archive labels (#26478) 11 months ago
shared Fix URL of padlock icon in profile (#26446) 11 months ago
status Replace fomantic divider module with our own (#25539) 1 year ago
swagger Allow to archive labels (#26478) 11 months ago
user Count only visible repos on profile (#25928) 11 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