##// END OF EJS Templates
Trac importer: user can now choose between sqlite and sqlite3 adapter for Trac database....
Trac importer: user can now choose between sqlite and sqlite3 adapter for Trac database. Trac importer: issues and wiki modules are enabled by default for the imported project. Fixed: 404 error when trying to save a custom query under certain circumstance. git-svn-id: http://redmine.rubyforge.org/svn/trunk@894 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r330:027bf93849e8
r881:b0bb1baeaac6
Show More
list.rhtml
45 lines | 2.0 KiB | text/html+ruby | RhtmlLexer
Jean-Philippe Lang
0.3 unstable...
r10 <h2><%=l(:label_custom_field_plural)%></h2>
Jean-Philippe Lang
custom fields list screen split in 3 tabs (one for each kind of custom fields)...
r203
<div class="tabs">
<ul>
<li><%= link_to l(:label_issue_plural), {}, :id=> "tab-IssueCustomField", :onclick => "showTab('IssueCustomField'); this.blur(); return false;" %></li>
<li><%= link_to l(:label_project_plural), {}, :id=> "tab-ProjectCustomField", :onclick => "showTab('ProjectCustomField'); this.blur(); return false;" %></li>
<li><%= link_to l(:label_user_plural), {}, :id=> "tab-UserCustomField", :onclick => "showTab('UserCustomField'); this.blur(); return false;" %></li>
</ul>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 </div>
Jean-Philippe Lang
custom fields list screen split in 3 tabs (one for each kind of custom fields)...
r203
<% %w(IssueCustomField ProjectCustomField UserCustomField).each do |type| %>
<div id="tab-content-<%= type %>" class="tab-content">
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <table class="list">
Jean-Philippe Lang
css cleaning...
r105 <thead><tr>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <th width="30%"><%=l(:field_name)%></th>
<th><%=l(:field_field_format)%></th>
Jean-Philippe Lang
custom fields list screen split in 3 tabs (one for each kind of custom fields)...
r203 <th><%=l(:field_is_required)%></th>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <% if type == 'IssueCustomField' %>
<th><%=l(:field_is_for_all)%></th>
Jean-Philippe Lang
custom fields list screen split in 3 tabs (one for each kind of custom fields)...
r203 <th><%=l(:label_used_by)%></th>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <% end %>
<th width="10%"></th>
Jean-Philippe Lang
css cleaning...
r105 </tr></thead>
<tbody>
Jean-Philippe Lang
custom fields list screen split in 3 tabs (one for each kind of custom fields)...
r203 <% for custom_field in (@custom_fields_by_type[type] || []) %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <tr class="<%= cycle("odd", "even") %>">
Jean-Philippe Lang
custom fields list screen split in 3 tabs (one for each kind of custom fields)...
r203 <td><%= link_to custom_field.name, :action => 'edit', :id => custom_field %></td>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <td align="center"><%= l(CustomField::FIELD_FORMATS[custom_field.field_format][:name]) %></td>
Jean-Philippe Lang
custom fields list screen split in 3 tabs (one for each kind of custom fields)...
r203 <td align="center"><%= image_tag 'true.png' if custom_field.is_required? %></td>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <% if type == 'IssueCustomField' %>
<td align="center"><%= image_tag 'true.png' if custom_field.is_for_all? %></td>
Jean-Philippe Lang
0.3 unstable...
r10 <td align="center"><%= custom_field.projects.count.to_s + ' ' + lwr(:label_project, custom_field.projects.count) if custom_field.is_a? IssueCustomField and !custom_field.is_for_all? %></td>
Jean-Philippe Lang
custom fields list screen split in 3 tabs (one for each kind of custom fields)...
r203 <% end %>
Jean-Philippe Lang
Initial commit...
r2 <td align="center">
Jean-Philippe Lang
tables and forms redesign,...
r19 <%= button_to l(:button_delete), { :action => 'destroy', :id => custom_field }, :confirm => l(:text_are_you_sure), :class => "button-small" %>
</td>
Jean-Philippe Lang
Initial commit...
r2 </tr>
Jean-Philippe Lang
custom fields list screen split in 3 tabs (one for each kind of custom fields)...
r203 <% end; reset_cycle %>
Jean-Philippe Lang
css cleaning...
r105 </tbody>
Jean-Philippe Lang
custom fields list screen split in 3 tabs (one for each kind of custom fields)...
r203 </table>
Jean-Philippe Lang
Initial commit...
r2 <br />
Jean-Philippe Lang
custom fields list screen split in 3 tabs (one for each kind of custom fields)...
r203 <%= link_to l(:label_custom_field_new), {:action => 'new', :type => type}, :class => 'icon icon-add' %>
</div>
<% end %>
<%= javascript_tag "showTab('#{@tab}');" %>