CB/tmpl: Modify icon for add more button

This commit is contained in:
Codeberg Build Maintainers 2024-04-29 21:57:29 +00:00 committed by Otto Richter
parent 74ac5b802d
commit a8211e07d8

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">