mirror of
https://github.com/go-gitea/gitea
synced 2025-08-02 07:38:35 +00:00
Add topic support (#3711)
* add topic models and unit tests * fix comments * fix comment * add the UI to show or add topics for a repo * show topics on repositories list * fix test * don't show manage topics link when no permission * use green basic as topic label * fix topic label color * remove trace content * remove debug function
This commit is contained in:
@@ -17,6 +17,9 @@
|
||||
</div>
|
||||
</div>
|
||||
{{if .DescriptionHTML}}<p class="has-emoji">{{.DescriptionHTML}}</p>{{end}}
|
||||
<div>
|
||||
{{range .Topics}}<div class="ui green basic label topic">{{.}}</div>{{end}}
|
||||
</div>
|
||||
<p class="time">{{$.i18n.Tr "org.repo_updated"}} {{TimeSinceUnix .UpdatedUnix $.i18n.Lang}}</p>
|
||||
</div>
|
||||
{{else}}
|
||||
|
Reference in New Issue
Block a user