Signed-off-by: Will did:plc:dadhhalkfcq3gucaq25hjqon
appview/db/repos.go
appview/db/repos.go
This file has not been changed.
appview/pages/pages.go
appview/pages/pages.go
This file has not been changed.
+17
-17
appview/pages/templates/layouts/repobase.html
+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
appview/pages/templates/repo/forks.html
This file has not been changed.
appview/repo/repo.go
appview/repo/repo.go
This file has not been changed.
appview/repo/router.go
appview/repo/router.go
This file has not been changed.
History
5 rounds
0 comments
willdot.net
submitted
#4
1 commit
expand
collapse
appview/repo: show number of forks on repo and link to page of forks
Signed-off-by: Will <did:plc:dadhhalkfcq3gucaq25hjqon>
merge conflicts detected
expand
collapse
expand
collapse
- appview/db/repos.go:301
- appview/models/repo.go:97
expand 0 comments
willdot.net
submitted
#3
1 commit
expand
collapse
appview/repo: show number of forks on repo and link to page of forks
Signed-off-by: Will <did:plc:dadhhalkfcq3gucaq25hjqon>
expand 0 comments
willdot.net
submitted
#2
1 commit
expand
collapse
appview/repo: show number of forks on repo and link to page of forks
Signed-off-by: Will <did:plc:dadhhalkfcq3gucaq25hjqon>
expand 0 comments
willdot.net
submitted
#1
1 commit
expand
collapse
appview/repo: show number of forks on repo and link to page of forks
Signed-off-by: Will <did:plc:dadhhalkfcq3gucaq25hjqon>
expand 0 comments
willdot.net
submitted
#0
1 commit
expand
collapse
appview/repo: show number of forks on repo and link to page of forks
Signed-off-by: Will <did:plc:dadhhalkfcq3gucaq25hjqon>