+6
-3
appview/pages/templates/repo/index.html
+6
-3
appview/pages/templates/repo/index.html
···
109
{{ $messageParts := splitN .Message "\n\n" 2 }}
110
<div class="text-base cursor-pointer">
111
<div>
112
-
<div class="flex items-center gap-1">
113
<a href="/{{ $.RepoInfo.FullName }}/commit/{{ .Hash.String }}" class="inline no-underline hover:underline">{{ index $messageParts 0 }}</a>
114
{{ if gt (len $messageParts) 1 }}
115
-
<button class="text-sm inline rounded-sm bg-gray-300 text-gray-700 px-1 w-fit hover:bg-gray-400"
116
-
hx-on:click="this.parentElement.nextElementSibling.classList.toggle('hidden')">…</button>
117
{{ end }}
118
</div>
119
{{ if gt (len $messageParts) 1 }}
···
109
{{ $messageParts := splitN .Message "\n\n" 2 }}
110
<div class="text-base cursor-pointer">
111
<div>
112
+
<div>
113
<a href="/{{ $.RepoInfo.FullName }}/commit/{{ .Hash.String }}" class="inline no-underline hover:underline">{{ index $messageParts 0 }}</a>
114
{{ if gt (len $messageParts) 1 }}
115
+
116
+
<button class="py-1/2 px-1 bg-gray-200 hover:bg-gray-400 rounded"
117
+
hx-on:click="this.parentElement.nextElementSibling.classList.toggle('hidden')">
118
+
<i class="w-3 h-3" data-lucide="ellipsis"></i>
119
+
</button>
120
{{ end }}
121
</div>
122
{{ if gt (len $messageParts) 1 }}