Browse Source

feat: replace the icons

tags/v1.21.12.1
colorfulberry 5 years ago
parent
commit
26ea7165e0
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      templates/repo/header.tmpl

+ 2
- 2
templates/repo/header.tmpl View File

@@ -99,7 +99,7 @@

{{if .Permission.CanRead $.UnitTypeDatasets}}
<a class="{{if .PageIsDataset}}active{{end}} item" href="{{.RepoLink}}/datasets">
{{svg "octicon-file-submodule" 16}} {{.i18n.Tr "datasets"}}
{{svg "octicon-inbox" 16}} {{.i18n.Tr "datasets"}}
</a>
{{end}}

@@ -141,7 +141,7 @@

{{if .Permission.CanRead $.UnitTypeCloudBrain}}
<a class="{{if .PageIsCloudBrain}}active{{end}} item" href="{{.RepoLink}}/cloudbrain">
{{svg "octicon-file-submodule" 16}} {{.i18n.Tr "repo.cloudbrain"}}
{{svg "octicon-server" 16}} {{.i18n.Tr "repo.cloudbrain"}}
</a>
{{end}}



Loading…
Cancel
Save