|
|
@ -2,7 +2,7 @@ class Widget::Controls::QueryName < Widget::Base |
|
|
|
def render |
|
|
|
def render |
|
|
|
options = { :id => "query_saved_name", "data-translations" => translations } |
|
|
|
options = { :id => "query_saved_name", "data-translations" => translations } |
|
|
|
if @query.new_record? |
|
|
|
if @query.new_record? |
|
|
|
name = l(:label_save_this_query) |
|
|
|
name = l(:label_new_report) |
|
|
|
icon = "" |
|
|
|
icon = "" |
|
|
|
else |
|
|
|
else |
|
|
|
name = @query.name |
|
|
|
name = @query.name |
|
|
|