From 86fdba177ad82f3dcdfc237631fef4588042b9d6 Mon Sep 17 00:00:00 2001 From: John Olheiser <42128690+jolheiser@users.noreply.github.com> Date: Tue, 11 Feb 2020 11:02:41 -0600 Subject: Add Octicon SVG spritemap (#10107) * Add octicon SVG sprite Signed-off-by: jolheiser * Static prefix Signed-off-by: jolheiser * SVG for all repo icons Signed-off-by: jolheiser * make vendor Signed-off-by: jolheiser * Swap out octicons Signed-off-by: jolheiser * Move octicons to top of less imports Signed-off-by: jolheiser * Fix JS Signed-off-by: jolheiser * Definitely not a search/replace Signed-off-by: jolheiser * Missed regex Signed-off-by: jolheiser * Move to more generic calls and webpack Signed-off-by: jolheiser * make svg -> make webpack Signed-off-by: jolheiser * Remove svg-sprite Signed-off-by: jolheiser * Update tests Signed-off-by: jolheiser * Missed a test Signed-off-by: jolheiser * Remove svg from makefile Signed-off-by: jolheiser * Suggestions Signed-off-by: jolheiser * Attempt to fix test Signed-off-by: jolheiser * Update tests Signed-off-by: jolheiser * Revert timetracking test Signed-off-by: jolheiser * Swap .octicon for .svg in less Signed-off-by: jolheiser * Add aria-hidden Signed-off-by: jolheiser * Replace mega-octicon Signed-off-by: jolheiser * Fix webpack globbing on Windows Signed-off-by: jolheiser * Revert Co-Authored-By: silverwind * Fix octions from upstream Signed-off-by: jolheiser * Fix Vue and missed JS function Signed-off-by: jolheiser * Add JS helper and PWA Signed-off-by: jolheiser * Preload SVG Signed-off-by: jolheiser Co-authored-by: silverwind Co-authored-by: techknowlogick --- templates/admin/org/list.tmpl | 2 +- templates/admin/repo/list.tmpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'templates/admin') diff --git a/templates/admin/org/list.tmpl b/templates/admin/org/list.tmpl index 26f91faa74..fc512f2ad9 100644 --- a/templates/admin/org/list.tmpl +++ b/templates/admin/org/list.tmpl @@ -32,7 +32,7 @@ {{.Name}} {{if .Visibility.IsPrivate}} - + {{svg "octicon-lock" 16}} {{end}} {{.NumTeams}} diff --git a/templates/admin/repo/list.tmpl b/templates/admin/repo/list.tmpl index 793d9c620e..f946b8a461 100644 --- a/templates/admin/repo/list.tmpl +++ b/templates/admin/repo/list.tmpl @@ -33,7 +33,7 @@ {{.Owner.Name}} {{if .Owner.Visibility.IsPrivate}} - + {{svg "octicon-lock" 16}} {{end}} {{.Name}} -- cgit v1.2.3