Patch #2931 » templating_for_trackers.diff
| app/views/trackers/_form.rhtml (cópia de trabalho) | ||
|---|---|---|
|
<p><%= f.text_field :name, :required => true %></p>
|
||
|
<p><%= f.check_box :is_in_chlog %></p>
|
||
|
<p><%= f.check_box :is_in_roadmap %></p>
|
||
|
<p><%= f.text_area :template,
|
||
|
:rows => 5,
|
||
|
:cols => 60 %></p>
|
||
|
<% if @tracker.new_record? && @trackers.any? %>
|
||
|
<p><label><%= l(:label_copy_workflow_from) %></label>
|
||
|
<%= 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) | ||
|---|---|---|
|
<div id="issue_descr_fields" <%= 'style="display:none"' unless @issue.new_record? || @issue.errors.any? %>>
|
||
|
<p><%= f.text_field :subject, :size => 80, :required => true %></p>
|
||
|
<p><%= f.text_area :description,
|
||
|
:value => (@issue.new_record? ? @issue.tracker.template : @issue.description),
|
||
|
:cols => 60,
|
||
|
:rows => (@issue.description.blank? ? 10 : [[10, @issue.description.length / 50].max, 100].min),
|
||
|
:accesskey => accesskey(:edit),
|
||
| lang/pt-br.yml (cópia de trabalho) | ||
|---|---|---|
|
field_default_value: Padrão
|
||
|
field_comments_sorting: Visualizar comentários
|
||
|
field_parent_title: Página pai
|
||
|
field_template: Template para descrição
|
||
|
setting_app_title: Título da aplicação
|
||
|
setting_app_subtitle: Sub-título da aplicação
|
||
| lang/en.yml (cópia de trabalho) | ||
|---|---|---|
|
field_default_value: Default value
|
||
|
field_comments_sorting: Display comments
|
||
|
field_parent_title: Parent page
|
||
|
field_template: Template for description
|
||
|
setting_app_title: Application title
|
||
|
setting_app_subtitle: Application subtitle
|
||