Project

General

Profile

Patch #2931 » templating_for_trackers.diff

SVN diff for revision 2568 - Rodrigo Panachi, 2009-03-08 18:18

View differences:

app/views/trackers/_form.rhtml (cópia de trabalho)
4 4
<p><%= f.text_field :name, :required => true %></p>
5 5
<p><%= f.check_box :is_in_chlog %></p>
6 6
<p><%= f.check_box :is_in_roadmap %></p>
7
<p><%= f.text_area :template,
8
                   :rows => 5,
9
                   :cols => 60 %></p>
7 10
<% if @tracker.new_record? && @trackers.any? %>
8 11
<p><label><%= l(:label_copy_workflow_from) %></label>
9 12
<%= select_tag(:copy_workflow_from, content_tag("option") + options_from_collection_for_select(@trackers, :id, :name)) %></p>
app/views/issues/_form.rhtml (cópia de trabalho)
9 9
<div id="issue_descr_fields" <%= 'style="display:none"' unless @issue.new_record? || @issue.errors.any? %>>
10 10
<p><%= f.text_field :subject, :size => 80, :required => true %></p>
11 11
<p><%= f.text_area :description,
12
                   :value => (@issue.new_record? ? @issue.tracker.template : @issue.description),
12 13
                   :cols => 60,
13 14
                   :rows => (@issue.description.blank? ? 10 : [[10, @issue.description.length / 50].max, 100].min),
14 15
                   :accesskey => accesskey(:edit),
lang/pt-br.yml (cópia de trabalho)
183 183
field_default_value: Padrão
184 184
field_comments_sorting: Visualizar comentários
185 185
field_parent_title: Página pai
186
field_template: Template para descrição
186 187

  
187 188
setting_app_title: Título da aplicação
188 189
setting_app_subtitle: Sub-título da aplicação
lang/en.yml (cópia de trabalho)
186 186
field_default_value: Default value
187 187
field_comments_sorting: Display comments
188 188
field_parent_title: Parent page
189
field_template: Template for description
189 190

  
190 191
setting_app_title: Application title
191 192
setting_app_subtitle: Application subtitle
(1-1/5)