From fa831f54ef07a9a8ad4f172e0cbd2ba3c5426aed Mon Sep 17 00:00:00 2001 From: wangjr Date: Wed, 23 Feb 2022 09:29:57 +0800 Subject: [PATCH] =?UTF-8?q?fix-1504=20fix-1493=20=E5=92=8C=20=E5=85=AC?= =?UTF-8?q?=E5=91=8A=E6=97=A0=E9=85=8D=E7=BD=AE=E6=97=B6=EF=BC=8Cconsole?= =?UTF-8?q?=E6=8A=A5=E9=94=99=E9=97=AE=E9=A2=98=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/base/head.tmpl | 14 +++++++++----- templates/base/head_fluid.tmpl | 14 +++++++++----- templates/base/head_home.tmpl | 14 +++++++++----- templates/base/head_pro.tmpl | 14 +++++++++----- templates/repo/header.tmpl | 2 +- templates/repo/modelarts/notebook/new.tmpl | 2 +- 6 files changed, 38 insertions(+), 22 deletions(-) diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl index 10015a61b..2cecee52b 100755 --- a/templates/base/head.tmpl +++ b/templates/base/head.tmpl @@ -226,10 +226,12 @@ var _hmt = _hmt || []; } let isShowNoticeTag = false; let notices= {{.notices.Notices}} - for (i =0;i {{if and .Repository.CanEnablePulls (.Permission.CanRead $.UnitTypePullRequests)}} - + {{svg "octicon-git-pull-request" 16}} {{.i18n.Tr "repo.pulls"}} {{.Repository.NumOpenPulls}} {{end}} diff --git a/templates/repo/modelarts/notebook/new.tmpl b/templates/repo/modelarts/notebook/new.tmpl index 4bf63ac81..fb6e3c9be 100755 --- a/templates/repo/modelarts/notebook/new.tmpl +++ b/templates/repo/modelarts/notebook/new.tmpl @@ -19,7 +19,7 @@
{{template "base/alert" .}} -
+