forked from tangled.org/core
this repo has no description

appview: allow slashes in branch names in empty-repo template

Signed-off-by: oppiliappan <me@oppi.li>

oppi.li 64e72958 87686f39

verified
Changed files
+1 -1
appview
pages
templates
repo
+1 -1
appview/pages/templates/repo/empty.html
··· 14 14 </p> 15 15 <div class="mt-4 grid grid-cols-1 divide-y divide-gray-200 dark:divide-gray-700 rounded border border-gray-200 dark:border-gray-700 w-full md:w-1/2"> 16 16 {{ range $br := .BranchesTrunc }} 17 - <a href="/{{ $.RepoInfo.FullName }}/tree/{{$br.Name}}" class="no-underline hover:no-underline"> 17 + <a href="/{{ $.RepoInfo.FullName }}/tree/{{$br.Name | urlquery }}" class="no-underline hover:no-underline"> 18 18 <div class="flex items-center justify-between p-2"> 19 19 {{ $br.Name }} 20 20 <time class="text-gray-500 dark:text-gray-400">{{ timeFmt $br.Commit.Committer.When }}</time>