alpha
Login
or
Join now
dunkirk.sh
/
core
forked from
tangled.org/core
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
move tag pills to info line
author
Akshay
date
1 year ago
(Mar 2, 2025, 6:29 PM UTC)
commit
38d10272
38d1027212bc0c3835d1207da08e1d1a8a7d5736
parent
329cd001
329cd001c47e2b0c35c07c2e3d6b8d1f7478636b
+9
-9
2 changed files
Expand all
Collapse all
Unified
Split
appview
pages
templates
repo
index.html
state
repo.go
+9
-7
appview/pages/templates/repo/index.html
Reviewed
···
140
140
></i>
141
141
</button>
142
142
{{ end }}
143
143
-
144
144
-
{{ $tagsForCommit := index $.TagMap .Hash.String }}
145
145
-
{{ range $tagsForCommit }}
146
146
-
<span class="text-xs rounded-full bg-black text-white px-2 mx-1 inline-flex items-center">
147
147
-
{{ . }}
148
148
-
</span>
149
149
-
{{ end }}
150
143
</div>
151
144
{{ if gt (len $messageParts) 1 }}
152
145
<p
···
181
174
class="inline-block px-1 select-none after:content-['·']"
182
175
></div>
183
176
<span>{{ timeFmt .Author.When }}</span>
177
177
+
<div
178
178
+
class="inline-block px-1 select-none after:content-['·']"
179
179
+
></div>
180
180
+
{{ $tagsForCommit := index $.TagMap .Hash.String }}
181
181
+
{{ range $tagsForCommit }}
182
182
+
<span class="text-xs rounded-full bg-gray-700 text-white px-2 mx-1/2 inline-flex items-center">
183
183
+
{{ . }}
184
184
+
</span>
185
185
+
{{ end }}
184
186
</div>
185
187
</div>
186
188
{{ end }}
-2
appview/state/repo.go
Reviewed
···
72
72
tagMap[hash] = append(tagMap[hash], branch.Name)
73
73
}
74
74
75
75
-
log.Println(tagMap)
76
76
-
77
75
user := s.auth.GetUser(r)
78
76
s.pages.RepoIndexPage(w, pages.RepoIndexParams{
79
77
LoggedInUser: user,