From 68bb649c32c3a56c14c5ce6eef7ce79c1ea13a52 Mon Sep 17 00:00:00 2001 From: milovann Date: Tue, 23 Apr 2024 11:19:22 +0200 Subject: [PATCH] [SLOYD] Add run button --- templates/repo/editor/edit.tmpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/repo/editor/edit.tmpl b/templates/repo/editor/edit.tmpl index df7a2654c1..9b6acaea6b 100644 --- a/templates/repo/editor/edit.tmpl +++ b/templates/repo/editor/edit.tmpl @@ -30,6 +30,7 @@ {{svg "octicon-code"}} {{if .IsNewFile}}{{ctx.Locale.Tr "repo.editor.new_file"}}{{else}}{{ctx.Locale.Tr "repo.editor.edit_file"}}{{end}} {{svg "octicon-eye"}} {{ctx.Locale.Tr "preview"}} {{svg "octicon-paper-airplane"}} {{ctx.Locale.Tr "Run"}} + {{svg "octicon-paper-airplane"}} {{ctx.Locale.Tr "Run"}} {{svg "octicon-eye"}} {{ctx.Locale.Tr "preview"}} {{if not .IsNewFile}} {{svg "octicon-diff"}} {{ctx.Locale.Tr "repo.editor.preview_changes"}} @@ -44,7 +45,7 @@
-
+