X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/0e81def27bfaa36288143d1ff4c325164d4d2f10..54d7b5abd1eddc6f22f8d3df75334a54a1420485:/redmine/redmine_publications/app/views/settings/_publications_settings.html.erb diff --git a/redmine/redmine_publications/app/views/settings/_publications_settings.html.erb b/redmine/redmine_publications/app/views/settings/_publications_settings.html.erb index 626e5c62..255460e9 100644 --- a/redmine/redmine_publications/app/views/settings/_publications_settings.html.erb +++ b/redmine/redmine_publications/app/views/settings/_publications_settings.html.erb @@ -1,13 +1,18 @@ -<% @tracker = Tracker.find(@settings['tracker']) %> - +<% @project = Project.find(:first, :conditions => ["id = ?", @settings[:project]]) %>

- - <%= collection_select(:tracker, :id, Tracker.all, :id, :name, {}, {:name => "settings[tracker]"}) %> + + <%= collection_select(:project, :id, Project.all, :id, :name, {}, {:name => "settings[project]"}) %>

- <%= text_field_tag 'settings[pattern]', @settings['pattern'] %> + <%= text_field_tag 'settings[pattern]', @settings[:pattern] || '' %>

+ +

+ + <%= text_field_tag 'settings[editorurl]', @settings[:editorurl] || '' %> +

+