diff --git a/templates/repo/header.tmpl b/templates/repo/header.tmpl
index 19e794ec9..138a323e1 100755
--- a/templates/repo/header.tmpl
+++ b/templates/repo/header.tmpl
@@ -97,16 +97,21 @@
{{svg "octicon-code" 16}} {{.i18n.Tr "repo.code"}}
+ {{if and (.Permission.CanRead $.UnitTypeReleases) (not .IsEmptyRepo) }}
{{svg "octicon-tag" 16}} {{.i18n.Tr "repo.releases"}} {{.NumReleases}}
+ {{end}}
+ {{if or (.Permission.CanRead $.UnitTypeWiki) (.Permission.CanRead $.UnitTypeExternalWiki)}}
{{svg "octicon-book" 16}} {{.i18n.Tr "repo.wiki"}}
+ {{end}}
+ {{if and (.Permission.CanReadAny $.UnitTypePullRequests $.UnitTypeIssues $.UnitTypeReleases) (not .IsEmptyRepo)}}
{{svg "octicon-pulse" 16}} {{.i18n.Tr "repo.activity"}}
-
+ {{end}}
diff --git a/templates/repo/modelmanage/showinfo.tmpl b/templates/repo/modelmanage/showinfo.tmpl
index d522d9bca..f416347d3 100644
--- a/templates/repo/modelmanage/showinfo.tmpl
+++ b/templates/repo/modelmanage/showinfo.tmpl
@@ -93,7 +93,7 @@
| 标签 |
-
+
@@ -258,7 +258,7 @@ function renderInfo(obj,accObj,id){
let labelArray = obj[key].trim().replace(/ +/g,' ').split(' ')
let html=''
for(let i=0;i ${labelArray[i]}`
+ html += `${labelArray[i]}`
}
$('#Label').append(html)
}
diff --git a/web_src/js/components/Model.vue b/web_src/js/components/Model.vue
index 60233696b..f87c78a36 100644
--- a/web_src/js/components/Model.vue
+++ b/web_src/js/components/Model.vue
@@ -458,7 +458,7 @@ export default {
margin-right: 3px;
font-size: 12px;
}
-/deep/ .el-table_1_column_1.is-left .cell {padding-right: 0px !important;}
+/deep/ .el-table_1_column_1.is-left .cell {padding-right: 0px !important;white-space: nowrap;}
/deep/ .el-table__expand-icon .el-icon-arrow-right{
font-family: element-icons!important;
speak: none;
|