Fixes #4009 - "Note - visibility confirmation dialog" setting also requests confirmation for e.g. email and phone articles.
This commit is contained in:
parent
69755b6afd
commit
2df8c9c7bf
3 changed files with 15 additions and 5 deletions
10
db/migrate/20220314080801_issue4009_fix_title.rb
Normal file
10
db/migrate/20220314080801_issue4009_fix_title.rb
Normal file
|
@ -0,0 +1,10 @@
|
|||
# Copyright (C) 2012-2022 Zammad Foundation, https://zammad-foundation.org/
|
||||
|
||||
class Issue4009FixTitle < ActiveRecord::Migration[6.0]
|
||||
def change
|
||||
# return if it's a new setup
|
||||
return if !Setting.exists?(name: 'system_init_done')
|
||||
|
||||
Setting.find_by(title: 'Note - visibility confirmation dialog').update(title: 'Article - visibility confirmation dialog')
|
||||
end
|
||||
end
|
|
@ -704,7 +704,7 @@ Setting.create_if_not_exists(
|
|||
)
|
||||
|
||||
Setting.create_if_not_exists(
|
||||
title: __('Note - visibility confirmation dialog'),
|
||||
title: __('Article - visibility confirmation dialog'),
|
||||
name: 'ui_ticket_zoom_article_visibility_confirmation_dialog',
|
||||
area: 'UI::TicketZoom',
|
||||
description: __('Defines if the agent has to accept a confirmation dialog when changing the article visibility to "public".'),
|
||||
|
|
|
@ -861,6 +861,10 @@ msgstr ""
|
|||
msgid "Article"
|
||||
msgstr ""
|
||||
|
||||
#: db/seeds/settings.rb
|
||||
msgid "Article - visibility confirmation dialog"
|
||||
msgstr ""
|
||||
|
||||
#: lib/excel_sheet/ticket.rb
|
||||
msgid "Article Count"
|
||||
msgstr ""
|
||||
|
@ -6598,10 +6602,6 @@ msgstr ""
|
|||
msgid "Note - default visibility"
|
||||
msgstr ""
|
||||
|
||||
#: db/seeds/settings.rb
|
||||
msgid "Note - visibility confirmation dialog"
|
||||
msgstr ""
|
||||
|
||||
#: app/assets/javascripts/app/models/email_address.coffee
|
||||
#: app/assets/javascripts/app/models/group.coffee
|
||||
#: app/assets/javascripts/app/models/job.coffee
|
||||
|
|
Loading…
Reference in a new issue