From d796a7a46b63bd42088ee8cbe442aab4b58ae610 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20Pfla=CC=88ging?= Date: Thu, 23 Aug 2018 22:24:17 +0200 Subject: [PATCH 1/5] german locale --- config/locales/de.yml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 config/locales/de.yml diff --git a/config/locales/de.yml b/config/locales/de.yml new file mode 100644 index 0000000..7d360b4 --- /dev/null +++ b/config/locales/de.yml @@ -0,0 +1,8 @@ +de: + ide_txt_validation_btn : 'Änderung bestätitgen' + ide_txt_error_positive_number : 'Hier muss eine positive Zahl stehen' + ide_txt_error_start_date : 'Das Startdatum muss vor dem Enddatum liegen' + ide_txt_error_due_date : 'Das Enddatum muss nach dem Startdatum liegen' + ide_txt_error_ajax_call : 'Error (Javascript Konsole kontrollieren)' + ide_txt_cancel_btn : 'Änderungen ignorieren' + ide_txt_required_field : 'Pflichtfeld bitte ausfüllen' From 0d31466ddedb18491c0a566849302bdc0352041a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20Pfla=CC=88ging?= Date: Mon, 8 Apr 2019 14:42:29 +0200 Subject: [PATCH 2/5] correct position --- assets/stylesheets/issue_dynamic_edit.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/stylesheets/issue_dynamic_edit.css b/assets/stylesheets/issue_dynamic_edit.css index b796f6f..d669f0d 100644 --- a/assets/stylesheets/issue_dynamic_edit.css +++ b/assets/stylesheets/issue_dynamic_edit.css @@ -35,7 +35,7 @@ body.controller-issues.action-show .dynamicEdit { display: inline-block; position:absolute; opacity: 0; - left:0; + /* left:0; correct position on top of icon */ bottom: 100%; margin-bottom: 5px; box-sizing: border-box; From 411f56a48b4264566c27b0cb41ed969b8b339880 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20Pfla=CC=88ging?= Date: Tue, 9 Jul 2019 10:04:31 +0200 Subject: [PATCH 3/5] correct after 0.6.7 --- assets/javascripts/issue_dynamic_edit_configuration_file.js | 2 +- assets/stylesheets/issue_dynamic_edit.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/javascripts/issue_dynamic_edit_configuration_file.js b/assets/javascripts/issue_dynamic_edit_configuration_file.js index adec137..fe9595f 100644 --- a/assets/javascripts/issue_dynamic_edit_configuration_file.js +++ b/assets/javascripts/issue_dynamic_edit_configuration_file.js @@ -9,7 +9,7 @@ * Use this value if you encounter some difficulties with "Mixed content" issues * Allowed values : false (default), true */ -var _CONF_FORCE_HTTPS = false; +var _CONF_FORCE_HTTPS = true; /* * _CONF_LISTENER_TYPE (string) diff --git a/assets/stylesheets/issue_dynamic_edit.css b/assets/stylesheets/issue_dynamic_edit.css index b796f6f..09ee3f7 100644 --- a/assets/stylesheets/issue_dynamic_edit.css +++ b/assets/stylesheets/issue_dynamic_edit.css @@ -35,7 +35,7 @@ body.controller-issues.action-show .dynamicEdit { display: inline-block; position:absolute; opacity: 0; - left:0; + /* left:0; */ bottom: 100%; margin-bottom: 5px; box-sizing: border-box; From 8673e70dea549980a56800e8a12517bcbb52071d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20Pfl=C3=A4ging?= Date: Wed, 10 Jul 2019 10:38:18 +0000 Subject: [PATCH 4/5] FORCE_HTTPS false during development --- .../issue_dynamic_edit_configuration_file.js | 70 +++++++++---------- 1 file changed, 35 insertions(+), 35 deletions(-) diff --git a/assets/javascripts/issue_dynamic_edit_configuration_file.js b/assets/javascripts/issue_dynamic_edit_configuration_file.js index fe9595f..59b9379 100644 --- a/assets/javascripts/issue_dynamic_edit_configuration_file.js +++ b/assets/javascripts/issue_dynamic_edit_configuration_file.js @@ -1,35 +1,35 @@ -/* - * CONFIGURATION FILE - * More info on https://github.com/Ilogeek/redmine_issue_dynamic_edit - */ - -/* - * _CONF_FORCE_HTTPS (boolean) - * Will force AJAX call performed by the plugin to be done with https protocol - * Use this value if you encounter some difficulties with "Mixed content" issues - * Allowed values : false (default), true - */ -var _CONF_FORCE_HTTPS = true; - -/* - * _CONF_LISTENER_TYPE (string) - * Choose which action will trigger the apparition of the edition block - * Allowed values : click (default), dblclick - */ -var _CONF_LISTENER_TYPE = "click"; - -/* - * _CONF_LISTENER_TARGET (string) - * Choose which area will trigger the apparition of the edition block - * "value" will target the whole line, "fa-pencil" will only target the pencil icon - * Allowed values : value (default), fa-pencil - */ -var _CONF_LISTENER_TARGET = "value"; - -/* - * _CONF_EXCLUDED_FIELD_ID (string array) - * Choose which fields to exclude. They won't have the edit block and pencil - * Custom fields have an unique ID and this ID must be prefixed by "issue_custom_field_values_". Eg : "issue_custom_field_values_4" is an allowed value - * Allowed values : array of any ID selector (css). Eg : ["statusListDropdown", "StartDateInput", "TitleInput", "issue_custom_field_values_4"] - */ -var _CONF_EXCLUDED_FIELD_ID = []; +/* + * CONFIGURATION FILE + * More info on https://github.com/Ilogeek/redmine_issue_dynamic_edit + */ + +/* + * _CONF_FORCE_HTTPS (boolean) + * Will force AJAX call performed by the plugin to be done with https protocol + * Use this value if you encounter some difficulties with "Mixed content" issues + * Allowed values : false (default), true + */ +var _CONF_FORCE_HTTPS = false; + +/* + * _CONF_LISTENER_TYPE (string) + * Choose which action will trigger the apparition of the edition block + * Allowed values : click (default), dblclick + */ +var _CONF_LISTENER_TYPE = "click"; + +/* + * _CONF_LISTENER_TARGET (string) + * Choose which area will trigger the apparition of the edition block + * "value" will target the whole line, "fa-pencil" will only target the pencil icon + * Allowed values : value (default), fa-pencil + */ +var _CONF_LISTENER_TARGET = "value"; + +/* + * _CONF_EXCLUDED_FIELD_ID (string array) + * Choose which fields to exclude. They won't have the edit block and pencil + * Custom fields have an unique ID and this ID must be prefixed by "issue_custom_field_values_". Eg : "issue_custom_field_values_4" is an allowed value + * Allowed values : array of any ID selector (css). Eg : ["statusListDropdown", "StartDateInput", "TitleInput", "issue_custom_field_values_4"] + */ +var _CONF_EXCLUDED_FIELD_ID = []; From c2c8a629c1084c105f96e5d8f4fc9266dec73ecb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20Pfla=CC=88ging?= Date: Thu, 11 Jul 2019 12:03:21 +0200 Subject: [PATCH 5/5] Make title work with quotes, update german translation --- config/locales/de.yml | 1 + lib/details_issue_hooks.rb | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/config/locales/de.yml b/config/locales/de.yml index 7d360b4..b1c9838 100644 --- a/config/locales/de.yml +++ b/config/locales/de.yml @@ -1,3 +1,4 @@ +# Translation by Peter Pfläging de: ide_txt_validation_btn : 'Änderung bestätitgen' ide_txt_error_positive_number : 'Hier muss eine positive Zahl stehen' diff --git a/lib/details_issue_hooks.rb b/lib/details_issue_hooks.rb index 9cf5fdc..ea9cae9 100644 --- a/lib/details_issue_hooks.rb +++ b/lib/details_issue_hooks.rb @@ -155,8 +155,10 @@ class DetailsIssueHooks < Redmine::Hook::ViewListener end # Title + # Make quotings in subject! (PP) + clonesubject = issue.subject.gsub('"','"') o << "" - o << " " + o << " " o << " " o << " " o << ""