diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index abb98c608ee..43930b02ad2 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -317,6 +317,7 @@ filter_by_team_repositories = Filter by team repositories feed_of = Feed of "%s" show_archived = Archived +archived = Archived show_both_archived_unarchived = Showing both archived and unarchived show_only_archived = Showing only archived show_only_unarchived = Showing only unarchived diff --git a/templates/repo/issue/labels/label_list.tmpl b/templates/repo/issue/labels/label_list.tmpl index c15833d952d..b29e606baa4 100644 --- a/templates/repo/issue/labels/label_list.tmpl +++ b/templates/repo/issue/labels/label_list.tmpl @@ -33,6 +33,11 @@
  • {{RenderLabel $.Context .}} + {{if not .ArchivedUnix.IsZero}} + + {{$.locale.Tr "home.archived"}} + + {{end}} {{if .Description}}
    {{.Description | RenderEmoji $.Context}}{{end}}
    diff --git a/web_src/css/helpers.css b/web_src/css/helpers.css index bd1fb992ac5..f832eff7868 100644 --- a/web_src/css/helpers.css +++ b/web_src/css/helpers.css @@ -71,7 +71,7 @@ Gitea's private styles use `g-` prefix. .gt-no-underline { text-decoration-line: none !important; } .gt-w-auto { width: auto !important; } .gt-normal-case { text-transform: none !important; } - +.gt-italic { font-style: italic !important; } .gt-overflow-x-auto { overflow-x: auto !important; } .gt-overflow-x-scroll { overflow-x: scroll !important; } .gt-overflow-y-hidden { overflow-y: hidden !important; }