Update Octicons to v10 (#12240)
* Update Octicons to v10 Besides a few renames, these icons are no longer present in v10 that we've used, so had to change: file-symlink-directory -> file-submodule internal-repo -> repo repo-force-push -> repo-push repo-template-private -> repo-template Fixes: https://github.com/go-gitea/gitea/issues/11889 Ref: https://github.com/primer/octicons/releases/tag/v10.0.0 * add custom sliders svg for removed octicon-settings * apply suggestion * fix triangles and use play on admin dashboard * add custom mirror svg * add missing build files * unify custom svgs * move to octicon-repo-clone to gitea-mirror * use octicon-x on conflicts * tweak timeline icons * tweak comment buttons * update settings icon to octicons v1 * switch to octicon-mirror and octicon-tools * replace two wiki buttons with octicons * remove whitespace in svg sources * Fix filepath basename on Windows for SVG bindata (#12241) * move octicons to devDependencies * move back to dependencies * move svgo to devDependencies again Co-authored-by: Cirno the Strongest <1447794+CirnoT@users.noreply.github.com> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
@ -156,7 +156,7 @@ func TestViewRepoWithSymlinks(t *testing.T) {
|
||||
})
|
||||
assert.Equal(t, len(items), 5)
|
||||
assert.Equal(t, items[0], "a: svg octicon-file-directory")
|
||||
assert.Equal(t, items[1], "link_b: svg octicon-file-symlink-directory")
|
||||
assert.Equal(t, items[1], "link_b: svg octicon-file-submodule")
|
||||
assert.Equal(t, items[2], "link_d: svg octicon-file-symlink-file")
|
||||
assert.Equal(t, items[3], "link_hi: svg octicon-file-symlink-file")
|
||||
assert.Equal(t, items[4], "link_link: svg octicon-file-symlink-file")
|
||||
|
Reference in New Issue
Block a user