diff --git a/assets/javascripts/issue_dynamic_edit_configuration_file.js b/assets/javascripts/issue_dynamic_edit_configuration_file.js index adec137..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 = 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 = []; +/* + * 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 = []; 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; diff --git a/config/locales/de.yml b/config/locales/de.yml new file mode 100644 index 0000000..b1c9838 --- /dev/null +++ b/config/locales/de.yml @@ -0,0 +1,9 @@ +# Translation by Peter Pfläging +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' 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 << ""