Make title work with quotes,
update german translation
This commit is contained in:
parent
7be93fc5e1
commit
c2c8a629c1
@ -1,3 +1,4 @@
|
||||
# Translation by Peter Pfläging <peter@pflaeging.net>
|
||||
de:
|
||||
ide_txt_validation_btn : 'Änderung bestätitgen'
|
||||
ide_txt_error_positive_number : 'Hier muss eine positive Zahl stehen'
|
||||
|
||||
@ -155,8 +155,10 @@ class DetailsIssueHooks < Redmine::Hook::ViewListener
|
||||
end
|
||||
|
||||
# Title
|
||||
# Make quotings in subject! (PP)
|
||||
clonesubject = issue.subject.gsub('"','"')
|
||||
o << "<span class='dynamicEdit' id='TitleInput'>"
|
||||
o << " <input size=\"50\" value=\"#{issue.subject}\" type=\"text\">"
|
||||
o << " <input size=\"50\" value=\"#{clonesubject}\" type=\"text\">"
|
||||
o << " <a href='#' class='btn btn-primary validate' aria-label='" + l(:ide_txt_validation_btn) + "'><i class='fa fa-check fa-fw' aria-hidden='true'></i></a>"
|
||||
o << " <a href='#' class='btn btn-primary close' aria-label='" + l(:ide_txt_cancel_btn) + "'><i class='fa fa-times fa-fw' aria-hidden='true'></i></a>"
|
||||
o << "</span>"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user