Merge pull request #50 from pflaeging/master
Fixed bug with title and made a german translation
This commit is contained in:
commit
657015d97f
@ -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;
|
||||
|
||||
9
config/locales/de.yml
Normal file
9
config/locales/de.yml
Normal file
@ -0,0 +1,9 @@
|
||||
# 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'
|
||||
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'
|
||||
@ -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