X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/cb87c787916de7712a4f9fb638715e6185804711..759c804d6c3b8db0ad99dcd5d155396b29ebedd7:/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 0465535a..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] || 1) %> - +<% @project = Project.find(:first, :conditions => ["id = ?", @settings[:project]]) %> <fieldset> <p> - <label for="settings[tracker]">Typ zagadnienia: </label> - <%= collection_select(:tracker, :id, Tracker.all, :id, :name, {}, {:name => "settings[tracker]"}) %> + <label for="settings[project]">Użyj w projektcie: </label> + <%= collection_select(:project, :id, Project.all, :id, :name, {}, {:name => "settings[project]"}) %> </p> <p> <label for="settings[pattern]">Filtr publikacji: </label> <%= text_field_tag 'settings[pattern]', @settings[:pattern] || '' %> </p> + +<p> + <label for="settings[editorurl]">Docelowy URL: </label> + <%= text_field_tag 'settings[editorurl]', @settings[:editorurl] || '' %> +</p> + </fieldset>