1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-13 14:07:20 +00:00

Update octicons and use octicon-file-directory-symlink (#25453)

Make use of the [new
octicon](https://github.com/primer/octicons/issues/945) that indicates a
symlink to a directory:

<img width="189" alt="Screenshot 2023-06-22 at 22 50 57"
src="https://github.com/go-gitea/gitea/assets/115237/a70690ea-ebfc-48fe-af23-cdc33bcb2098">
This commit is contained in:
silverwind
2023-06-23 00:05:52 +02:00
committed by GitHub
parent 6281ebfec3
commit d2142ba3c3
8 changed files with 12 additions and 10 deletions

View File

@ -210,7 +210,7 @@ func EntryIcon(entry *git.TreeEntry) string {
return "file-symlink-file"
}
if te.IsDir() {
return "file-submodule"
return "file-directory-symlink"
}
return "file-symlink-file"
case entry.IsDir():