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
+1 -4
Interdiff #3 โ†’ #4
appview/db/repos.go

This file has not been changed.

appview/pages/pages.go

This file has not been changed.

+1 -1
appview/pages/templates/layouts/repobase.html
··· 130 130 <a 131 131 href="/{{ .RepoInfo.FullName }}/forks" 132 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" 133 + title="Forked by" 134 134 > 135 135 {{ .RepoInfo.Stats.ForkCount }} 136 136 </a>
appview/pages/templates/repo/forks.html

This file has not been changed.

-3
appview/repo/repo.go
··· 1308 1308 } 1309 1309 1310 1310 page := pagination.FromContext(r.Context()) 1311 - if page.Limit > 30 || page.Limit <= 0 { 1312 - page.Limit = 30 1313 - } 1314 1311 1315 1312 forks, err := db.GetReposPaginated(rp.db, page, orm.FilterEq("source", f.RepoDid)) 1316 1313 if err != nil {
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