diff options
author | silverwind <me@silverwind.io> | 2023-06-23 00:05:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-22 22:05:52 +0000 |
commit | d2142ba3c35613c8c4c444ca8a909792b4b9238b (patch) | |
tree | 8b8a1452c31f75d1681c1341c401949186c7c165 /modules/base | |
parent | 6281ebfec390f66dffee06760b64bf879a66820f (diff) | |
download | gitea-d2142ba3c35613c8c4c444ca8a909792b4b9238b.tar.gz gitea-d2142ba3c35613c8c4c444ca8a909792b4b9238b.zip |
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">
Diffstat (limited to 'modules/base')
-rw-r--r-- | modules/base/tool.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/base/tool.go b/modules/base/tool.go index 13b07c043e..004781835a 100644 --- a/modules/base/tool.go +++ b/modules/base/tool.go @@ -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(): |