Monorepo for Tangled tangled.org
856
fork

Configure Feed

Select the types of activity you want to include in your feed.

appview/repo: show number of forks on repo and link to page of forks #356

open opened by willdot.net targeting master from willdot.net/tangled-fork-2: repo-fork-counts

Signed-off-by: Will did:plc:dadhhalkfcq3gucaq25hjqon

Labels

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:dadhhalkfcq3gucaq25hjqon/sh.tangled.repo.pull/3mlgnel3ppx22
+17 -17
Interdiff #2 โ†’ #3
appview/db/repos.go

This file has not been changed.

appview/pages/pages.go

This file has not been changed.

+17 -17
appview/pages/templates/layouts/repobase.html
··· 118 118 "StarCount" .RepoInfo.Stats.StarCount 119 119 "RepoName" .RepoInfo.Name) }} 120 120 <div class="flex w-full min-h-[30px] items-stretch overflow-hidden rounded border border-gray-200 dark:border-gray-700 bg-white dark:bg-gray-800 shadow-sm"> 121 - <a 122 - class="btn text-sm no-underline hover:no-underline flex items-center gap-2 group" 123 - hx-boost="true" 124 - href="/{{ .RepoInfo.FullName }}/fork" 125 - > 126 - {{ i "git-fork" "w-4 h-4" }} 127 - fork 128 - {{ i "loader-circle" "w-4 h-4 animate-spin hidden group-[.htmx-request]:inline" }} 129 - </a> 130 - <a 131 - href="/{{ .RepoInfo.FullName }}/forks" 132 - class="flex items-center px-2 text-sm no-underline hover:no-underline border-l border-gray-200 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-700" 133 - title="Starred by" 134 - > 135 - {{ .RepoInfo.Stats.ForkCount }} 136 - </a> 137 - </div> 121 + <a 122 + class="btn text-sm no-underline hover:no-underline flex items-center gap-2 group" 123 + hx-boost="true" 124 + href="/{{ .RepoInfo.FullName }}/fork" 125 + > 126 + {{ i "git-fork" "w-4 h-4" }} 127 + fork 128 + {{ i "loader-circle" "w-4 h-4 animate-spin hidden group-[.htmx-request]:inline" }} 129 + </a> 130 + <a 131 + href="/{{ .RepoInfo.FullName }}/forks" 132 + class="flex items-center px-2 text-sm no-underline hover:no-underline border-l border-gray-200 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-700" 133 + title="Starred by" 134 + > 135 + {{ .RepoInfo.Stats.ForkCount }} 136 + </a> 137 + </div> 138 138 {{ template "repo/fragments/feedDropdown" . }} 139 139 </div> 140 140 {{ end }}
appview/pages/templates/repo/forks.html

This file has not been changed.

appview/repo/repo.go

This file has not been changed.

appview/repo/router.go

This file has not been changed.

History

5 rounds 0 comments
sign up or login to add to the discussion
1 commit
expand
appview/repo: show number of forks on repo and link to page of forks
merge conflicts detected
expand
  • appview/db/repos.go:301
  • appview/models/repo.go:97
expand 0 comments
1 commit
expand
appview/repo: show number of forks on repo and link to page of forks
expand 0 comments
1 commit
expand
appview/repo: show number of forks on repo and link to page of forks
expand 0 comments
1 commit
expand
appview/repo: show number of forks on repo and link to page of forks
expand 0 comments
1 commit
expand
appview/repo: show number of forks on repo and link to page of forks
expand 0 comments