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 @@
-