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" .}} -
+