From 5acba4609a8eb060d91faf42c771da1a62c0170b Mon Sep 17 00:00:00 2001 From: Cirno the Strongest <1447794+CirnoT@users.noreply.github.com> Date: Fri, 5 Jun 2020 13:41:06 +0200 Subject: Add internal-repo octicon for public repos of private org (#11529) * Show multiple octicons on repo list * fix mixed spaces/tabs * Internal repo octicon * show internal icon in dashboard repolist * swagger * fix icon for normal repo on repo page * don't expose owner visibility directly; provide internal in repo api * fix icons for forks and mirrors Co-authored-by: Lauris BH --- web_src/js/index.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'web_src/js/index.js') diff --git a/web_src/js/index.js b/web_src/js/index.js index fa32c64c33..bd3f5da7f4 100644 --- a/web_src/js/index.js +++ b/web_src/js/index.js @@ -2962,6 +2962,8 @@ function initVueComponents() { return `octicon-repo-template${repo.private ? '-private' : ''}`; } if (repo.private) { return 'octicon-lock'; + } if (repo.internal) { + return 'octicon-internal-repo'; } return 'octicon-repo'; } -- cgit v1.2.3