alpha
Login
or
Join now
4uffin.bsky.social
/
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.
My own copy of Tangled :)
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
allow linking line numbers
author
Akshay
date
1 year ago
(Mar 10, 2025, 8:07 PM UTC)
commit
2228dc61
2228dc61a010cf04d4286b5abfffa61eccd9b273
parent
44f7d98e
44f7d98ef537449237c30e0664bac34ff8d74553
+12
-16
2 changed files
Expand all
Collapse all
Unified
Split
appview
pages
templates
repo
blob.html
issues
issue.html
+8
-6
appview/pages/templates/repo/blob.html
Reviewed
···
38
38
{{ else }}
39
39
<div class="overflow-auto relative text-ellipsis">
40
40
{{ range $idx, $line := $lines }}
41
41
+
{{ $linenr := add $idx 1 }}
41
42
<div class="flex">
42
42
-
<span
43
43
-
class="{{ $code_number_style }}"
44
44
-
style="min-width: {{ $tot_chars }}ch;"
45
45
-
>{{ add $idx 1 }}</span
46
46
-
>
47
47
-
<div class="whitespace-pre">{{ $line | escapeHtml }}</div>
43
43
+
<a href="#L{{ $linenr }}" id="L{{ $linenr }}" class="no-underline peer">
44
44
+
<span class="{{ $code_number_style }}"
45
45
+
style="min-width: {{ $tot_chars }}ch;" >
46
46
+
{{ $linenr }}
47
47
+
</span>
48
48
+
</a>
49
49
+
<div class="whitespace-pre peer-target:bg-yellow-200">{{ $line | escapeHtml }}</div>
48
50
</div>
49
51
{{ end }}
50
52
</div>
+4
-10
appview/pages/templates/repo/issues/issue.html
Reviewed
···
16
16
{{ $icon = "circle-dot" }}
17
17
{{ end }}
18
18
19
19
-
20
19
<section>
21
21
-
<div class="flex items-center gap-2">
22
22
-
<div
23
23
-
id="state"
24
24
-
class="inline-flex items-center rounded px-3 py-1 {{ $bgColor }}"
25
25
-
>
26
26
-
<i
27
27
-
data-lucide="{{ $icon }}"
28
28
-
class="w-4 h-4 mr-1.5 text-white"
29
29
-
></i>
20
20
+
<div class="inline-flex items-center gap-2">
21
21
+
<div id="state"
22
22
+
class="inline-flex items-center rounded px-3 py-1 {{ $bgColor }} text-sm">
23
23
+
<i data-lucide="{{ $icon }}" class="w-4 h-4 mr-1.5 text-white" ></i>
30
24
<span class="text-white">{{ .State }}</span>
31
25
</div>
32
26
<span class="text-gray-400 text-sm">