fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Test fix.
[redakcja.git]
/
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
626e5c6
..
8ab2a7b
100644
(file)
--- a/
redmine/redmine_publications/app/views/settings/_publications_settings.html.erb
+++ b/
redmine/redmine_publications/app/views/settings/_publications_settings.html.erb
@@
-1,4
+1,4
@@
-<% @tracker = Tracker.find(@settings[
'tracker']
) %>
+<% @tracker = Tracker.find(@settings[
:tracker] || 1
) %>
<fieldset>
<p>
<fieldset>
<p>
@@
-8,6
+8,12
@@
<p>
<label for="settings[pattern]">Filtr publikacji: </label>
<p>
<label for="settings[pattern]">Filtr publikacji: </label>
- <%= text_field_tag 'settings[pattern]', @settings[
'pattern']
%>
+ <%= text_field_tag 'settings[pattern]', @settings[
:pattern] || ''
%>
</p>
</p>
+
+<p>
+ <label for="settings[editorurl]">Docelowy URL: </label>
+ <%= text_field_tag 'settings[editorurl]', @settings[:editorurl] || '' %>
+</p>
+
</fieldset>
</fieldset>