+1
appview/db/repos.go
+1
appview/db/repos.go
+2
-5
appview/db/timeline.go
+2
-5
appview/db/timeline.go
+1
-1
appview/pages/templates/layouts/base.html
+1
-1
appview/pages/templates/layouts/base.html
+3
-1
appview/pages/templates/repo/commit.html
+3
-1
appview/pages/templates/repo/commit.html
+1
-1
appview/pages/templates/repo/index.html
+1
-1
appview/pages/templates/repo/index.html
+12
-8
appview/pages/templates/timeline.html
+12
-8
appview/pages/templates/timeline.html
···
143
<a href="/{{ $subjectHandle }}">
144
<span class="font-bold dark:text-white overflow-hidden text-ellipsis whitespace-nowrap max-w-full">{{ $subjectHandle | truncateAt30 }}</span>
145
</a>
146
-
{{ with $profile.Description }}
147
-
<p class="text-sm pb-2 md:pb-2">{{.}}</p>
148
{{ end }}
149
-
<div class="text-sm flex items-center gap-2 my-2 overflow-hidden text-ellipsis whitespace-nowrap max-w-full text-sm">
150
-
<span class="flex-shrink-0">{{ i "users" "size-4" }}</span>
151
-
<span id="followers">{{ $stat.Followers }} followers</span>
152
-
<span class="select-none after:content-['·']"></span>
153
-
<span id="following">{{ $stat.Following }} following</span>
154
-
</div>
155
</div>
156
</div>
157
{{ end }}
···
143
<a href="/{{ $subjectHandle }}">
144
<span class="font-bold dark:text-white overflow-hidden text-ellipsis whitespace-nowrap max-w-full">{{ $subjectHandle | truncateAt30 }}</span>
145
</a>
146
+
{{ with $profile }}
147
+
{{ with .Description }}
148
+
<p class="text-sm pb-2 md:pb-2">{{.}}</p>
149
+
{{ end }}
150
{{ end }}
151
+
{{ with $stat }}
152
+
<div class="text-sm flex items-center gap-2 my-2 overflow-hidden text-ellipsis whitespace-nowrap max-w-full text-sm">
153
+
<span class="flex-shrink-0">{{ i "users" "size-4" }}</span>
154
+
<span id="followers">{{ .Followers }} followers</span>
155
+
<span class="select-none after:content-['·']"></span>
156
+
<span id="following">{{ .Following }} following</span>
157
+
</div>
158
+
{{ end }}
159
</div>
160
</div>
161
{{ end }}