diff options
author | silverwind <me@silverwind.io> | 2023-05-01 19:25:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-01 13:25:54 -0400 |
commit | fa506cd5712996b9fac3ab9615ec0ac90fa6a339 (patch) | |
tree | ce7a5a36eeb63d704a83c2dea4d586834da022f4 /templates/repo/issue | |
parent | 3e7101dd64e4cd5d9ecfd4dbe0c991aacf99bf87 (diff) | |
download | gitea-fa506cd5712996b9fac3ab9615ec0ac90fa6a339.tar.gz gitea-fa506cd5712996b9fac3ab9615ec0ac90fa6a339.zip |
Remove `font-awesome` and fomantic `icon` module (#24471)
Fixes https://github.com/go-gitea/gitea/issues/10410.
This PR removes around 120kB of CSS.
Diffstat (limited to 'templates/repo/issue')
-rw-r--r-- | templates/repo/issue/labels/edit_delete_label.tmpl | 2 | ||||
-rw-r--r-- | templates/repo/issue/view_content/pull.tmpl | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/templates/repo/issue/labels/edit_delete_label.tmpl b/templates/repo/issue/labels/edit_delete_label.tmpl index 458250f92b..b09e9173de 100644 --- a/templates/repo/issue/labels/edit_delete_label.tmpl +++ b/templates/repo/issue/labels/edit_delete_label.tmpl @@ -57,7 +57,7 @@ {{.locale.Tr "cancel"}} </button> <button class="ui primary small approve button"> - <i class="save icon"></i> + {{svg "fontawesome-save"}} {{.locale.Tr "save"}} </button> </div> diff --git a/templates/repo/issue/view_content/pull.tmpl b/templates/repo/issue/view_content/pull.tmpl index 5e405c9d2c..aa9b240736 100644 --- a/templates/repo/issue/view_content/pull.tmpl +++ b/templates/repo/issue/view_content/pull.tmpl @@ -249,7 +249,7 @@ {{$.locale.Tr "repo.pulls.require_signed_wont_sign"}} </div> <div class="item"> - <i class="icon unlock"></i> + <i class="icon icon-octicon">{{svg "octicon-unlock"}}</i> {{$.locale.Tr (printf "repo.signing.wont_sign.%s" .WontSignReason)}} </div> {{end}} @@ -274,12 +274,12 @@ {{end}} {{if .WillSign}} <div class="item"> - <i class="icon lock green"></i> + <i class="icon icon-octicon">{{svg "octicon-lock" 16 "text green"}}</i> {{$.locale.Tr "repo.signing.will_sign" .SigningKey}} </div> {{else if .IsSigned}} <div class="item"> - <i class="icon unlock"></i> + <i class="icon icon-octicon">{{svg "octicon-unlock"}}</i> {{$.locale.Tr (printf "repo.signing.wont_sign.%s" .WontSignReason)}} </div> {{end}} |