@ -6,7 +6,7 @@
{{ template "repo/code/recently_pushed_new_branches" . }}
{{ template "repo/code/recently_pushed_new_branches" . }}
{{ if and ( not .HideRepoInfo ) ( not .IsBlame ) }}
{{ if and ( not .HideRepoInfo ) ( not .IsBlame ) }}
<div class="ui repo-description gt-word-break">
<div class="ui repo-description gt-word-break">
<div id="repo-desc" class=" gt-fon t-16">
<div id="repo-desc" class=" tw-tex t-16">
{{ $ description : = .Repository .DescriptionHTML $ .Context }}
{{ $ description : = .Repository .DescriptionHTML $ .Context }}
{{ if $ description }} <span class="description"> {{ $ description | RenderCodeBlock }} </span> {{ else if .IsRepositoryAdmin }} <span class="no-description text-italic"> {{ ctx .Locale .Tr "repo.no_desc" }} </span> {{ end }}
{{ if $ description }} <span class="description"> {{ $ description | RenderCodeBlock }} </span> {{ else if .IsRepositoryAdmin }} <span class="no-description text-italic"> {{ ctx .Locale .Tr "repo.no_desc" }} </span> {{ end }}
<a class="link" href=" {{ .Repository .Website }} "> {{ .Repository .Website }} </a>
<a class="link" href=" {{ .Repository .Website }} "> {{ .Repository .Website }} </a>
@ -29,7 +29,7 @@
</div>
</div>
<div class="tw-flex tw-items-center tw-flex-wrap gt-gap-2" id="repo-topics">
<div class="tw-flex tw-items-center tw-flex-wrap gt-gap-2" id="repo-topics">
{{ range .Topics }} <a class="ui repo-topic large label topic gt-m-0" href=" {{ AppSubUrl }} /explore/repos?q= {{ .Name }} &topic=1"> {{ .Name }} </a> {{ end }}
{{ range .Topics }} <a class="ui repo-topic large label topic gt-m-0" href=" {{ AppSubUrl }} /explore/repos?q= {{ .Name }} &topic=1"> {{ .Name }} </a> {{ end }}
{{ if and .Permission .IsAdmin ( not .Repository .IsArchived ) }} <button id="manage_topic" class="btn interact-fg gt-fon t-12">{{ ctx .Locale .Tr "repo.topic.manage_topics" }} </button> {{ end }}
{{ if and .Permission .IsAdmin ( not .Repository .IsArchived ) }} <button id="manage_topic" class="btn interact-fg tw-tex t-12">{{ ctx .Locale .Tr "repo.topic.manage_topics" }} </button> {{ end }}
</div>
</div>
{{ end }}
{{ end }}
{{ if and .Permission .IsAdmin ( not .Repository .IsArchived ) }}
{{ if and .Permission .IsAdmin ( not .Repository .IsArchived ) }}