From: Marius Balteanu Date: Mon, 18 Nov 2024 06:59:58 +0000 (+0000) Subject: Merge r23288 from trunk to 5.1-stable (#41778). X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=674ec9833c5a712989a1aa4da16a5ad5041198a5;p=redmine.git Merge r23288 from trunk to 5.1-stable (#41778). git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@23290 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/queries/_form.html.erb b/app/views/queries/_form.html.erb index 260a6ea63..d1c1ef31f 100644 --- a/app/views/queries/_form.html.erb +++ b/app/views/queries/_form.html.erb @@ -6,8 +6,13 @@ <%= hidden_field_tag 'calendar', '1' if params[:calendar] %> <%= hidden_field_tag 'admin_projects', '1' if params[:admin_projects] %> -

-<%= text_field 'query', 'name', :size => 80 %>

+

+ + <%= text_field 'query', 'name', :size => 80 %> +

<% if User.current.admin? || User.current.allowed_to?(:manage_public_queries, @query.project) %>