loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Adding hint `Archived` to archive label. (#26741)

Followup https://github.com/go-gitea/gitea/pull/26478
## Archived labels UI

Changed:
* Enhanced the Filtered UI page to seamlessly incorporate a list of
archived labels.

Outsourced:
* Defer the implementation of specialized handling for archived labels
to upcoming pull requests. This step will be undertaken subsequent to
the successful merge of this pull request.

Screenshots

![image](https://github.com/go-gitea/gitea/assets/80308335/1f33cfb2-2bac-46f0-9103-9e62d235b1d2)

![image](https://github.com/go-gitea/gitea/assets/80308335/3609acd0-b1ba-4ee9-8c4e-1a34dbc37dd7)

![image](https://github.com/go-gitea/gitea/assets/80308335/9860196d-2391-409b-a9a0-1205ab4b412b)

---

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

---------

Co-authored-by: Giteabot <teabot@gitea.io>
Co-authored-by: silverwind <me@silverwind.io>

authored by

puni9869
Giteabot
silverwind
and committed by
GitHub
e0a796a6 43652746

+7 -1
+1
options/locale/locale_en-US.ini
··· 317 317 feed_of = Feed of "%s" 318 318 319 319 show_archived = Archived 320 + archived = Archived 320 321 show_both_archived_unarchived = Showing both archived and unarchived 321 322 show_only_archived = Showing only archived 322 323 show_only_unarchived = Showing only unarchived
+5
templates/repo/issue/labels/label_list.tmpl
··· 33 33 <li class="item"> 34 34 <div class="label-title"> 35 35 {{RenderLabel $.Context .}} 36 + {{if not .ArchivedUnix.IsZero}} 37 + <span class="gt-ml-3 gt-cursor-default gt-italic" data-tooltip-content="{{$.locale.Tr "repo.issues.label_archive_tooltip"}}"> 38 + {{$.locale.Tr "home.archived"}} 39 + </span> 40 + {{end}} 36 41 {{if .Description}}<br><small class="desc">{{.Description | RenderEmoji $.Context}}</small>{{end}} 37 42 </div> 38 43 <div class="label-issues">
+1 -1
web_src/css/helpers.css
··· 71 71 .gt-no-underline { text-decoration-line: none !important; } 72 72 .gt-w-auto { width: auto !important; } 73 73 .gt-normal-case { text-transform: none !important; } 74 - 74 + .gt-italic { font-style: italic !important; } 75 75 .gt-overflow-x-auto { overflow-x: auto !important; } 76 76 .gt-overflow-x-scroll { overflow-x: scroll !important; } 77 77 .gt-overflow-y-hidden { overflow-y: hidden !important; }