diff --git a/app/assets/javascripts/app/controllers/_settings/area_storage_provider.coffee b/app/assets/javascripts/app/controllers/_settings/area_storage_provider.coffee new file mode 100644 index 000000000..cd49fefd9 --- /dev/null +++ b/app/assets/javascripts/app/controllers/_settings/area_storage_provider.coffee @@ -0,0 +1,2 @@ +class App.SettingsAreaStorageProvider extends App.SettingsAreaItem + template: 'settings/storage_provider' diff --git a/app/assets/javascripts/app/views/settings/storage_provider.jst.eco b/app/assets/javascripts/app/views/settings/storage_provider.jst.eco new file mode 100644 index 000000000..eaddccd4c --- /dev/null +++ b/app/assets/javascripts/app/views/settings/storage_provider.jst.eco @@ -0,0 +1,22 @@ +
+

<%- @T(@setting.title) %>

+

<%- @T('You can switch between the backend for new attachments even on a system that is already in production without any loss of data.') %>

+

<%- @T('If you want to move already stored attachments from one backend to another, you need to execute the following via console.') %>

+

+

<%- @T('Move all from "%s" to "%s"', 'filesystem', 'database') %>:

+

+ + rails> Store::File.move('File', 'DB') + +

<%- @T('Move all from "%s" to "%s"', 'database', 'filesystem') %>:

+

+ + rails> Store::File.move('DB', 'File') + +
+
+
+
+ +
+
diff --git a/app/assets/javascripts/app/views/settings/ticket_hook_position.jst.eco b/app/assets/javascripts/app/views/settings/ticket_hook_position.jst.eco index a2a856b1d..be706ce60 100644 --- a/app/assets/javascripts/app/views/settings/ticket_hook_position.jst.eco +++ b/app/assets/javascripts/app/views/settings/ticket_hook_position.jst.eco @@ -1,7 +1,6 @@

<%- @T(@setting.title) %>

-

- <%- @T('The format of the subject.') %> +

<%- @T('The format of the subject.') %>