CB/tmpl: Modify icon for add more button

(cherry picked from commit a8211e07d8)
This commit is contained in:
Codeberg Build Maintainers 2024-04-29 21:57:29 +00:00 committed by GitHub
parent 54f875df46
commit f69fc18980

View file

@ -178,7 +178,7 @@
{{if and .SignedUser.EnableRepoUnitHints (not (.Repository.AllUnitsEnabled ctx))}}
{{$highlightSettings = false}}
<a class="{{if .PageIsRepoSettingsUnits}}active {{end}}item" href="{{.RepoLink}}/settings/units">
{{svg "octicon-diff-added"}} {{ctx.Locale.Tr "repo.settings.units.add_more"}}
{{svg "octicon-plus"}} {{ctx.Locale.Tr "repo.settings.units.add_more"}}
</a>
{{end}}
<a id="settings-btn" class="{{if and .PageIsRepoSettings (or $highlightSettings (not .PageIsRepoSettingsUnits))}}active {{end}}right item" href="{{.RepoLink}}/settings">