diff --git a/appview/pages/templates/repo/empty.html b/appview/pages/templates/repo/empty.html index 7190f132..188c10d9 100644 --- a/appview/pages/templates/repo/empty.html +++ b/appview/pages/templates/repo/empty.html @@ -44,7 +44,3 @@ {{ end }} {{ end }} - -{{ define "repoAfter" }} - {{ template "repo/fragments/cloneInstructions" . }} -{{ end }} diff --git a/appview/pages/templates/repo/fragments/cloneDropdown.html b/appview/pages/templates/repo/fragments/cloneDropdown.html index 0adad8d8..6a225a8e 100644 --- a/appview/pages/templates/repo/fragments/cloneDropdown.html +++ b/appview/pages/templates/repo/fragments/cloneDropdown.html @@ -7,7 +7,7 @@
{{ i "download" "w-4 h-4" }} - code + {{ i "chevron-down" "w-4 h-4" }} @@ -16,7 +16,7 @@ -
+

Clone this repository

@@ -84,7 +84,7 @@ function copyToClipboard(button, text) { navigator.clipboard.writeText(text).then(() => { const originalContent = button.innerHTML; - button.innerHTML = `{{ i "copy-check" "w-4 h-4" }}`; + button.innerHTML = `{{ i "check" "w-4 h-4" }}`; setTimeout(() => { button.innerHTML = originalContent; }, 2000); diff --git a/appview/pages/templates/repo/index.html b/appview/pages/templates/repo/index.html index 49881ece..6a3bfb56 100644 --- a/appview/pages/templates/repo/index.html +++ b/appview/pages/templates/repo/index.html @@ -14,16 +14,17 @@ {{ end }} - + -
+