##// END OF EJS Templates
indentation corrections...
indentation corrections git-svn-id: http://redmine.rubyforge.org/svn/trunk@201 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r154:220641909ca6
r198:99c560295fca
Show More
list.rhtml
38 lines | 1.6 KiB | text/html+ruby | RhtmlLexer
Jean-Philippe Lang
0.3 unstable...
r10 <h2><%=l(:label_custom_field_plural)%></h2>
Jean-Philippe Lang
Initial commit...
r2
Jean-Philippe Lang
css cleaning...
r105 <table class="list">
<thead><tr>
Jean-Philippe Lang
0.3 unstable...
r10 <th><%=l(:field_name)%></th>
<th><%=l(:field_type)%></th>
<th><%=l(:field_field_format)%></th>
<th><%=l(:field_is_required)%></th>
<th><%=l(:field_is_for_all)%></th>
Jean-Philippe Lang
Localization plugin removed (replaced with GLoc)...
r12 <th><%=l(:label_used_by)%></th>
Jean-Philippe Lang
Initial commit...
r2 <th></th>
Jean-Philippe Lang
css cleaning...
r105 </tr></thead>
<tbody>
Jean-Philippe Lang
Initial commit...
r2 <% for custom_field in @custom_fields %>
Jean-Philippe Lang
v0.2.0...
r5 <tr class="<%= cycle("odd", "even") %>">
Jean-Philippe Lang
Initial commit...
r2 <td><%= link_to custom_field.name, :action => 'edit', :id => custom_field %></td>
Jean-Philippe Lang
0.3 unstable...
r10 <td align="center"><%= l(custom_field.type_name) %></td>
Jean-Philippe Lang
* code and views cleaning...
r97 <td align="center"><%= l(CustomField::FIELD_FORMATS[custom_field.field_format][:name]) %></td>
Jean-Philippe Lang
* all icons replaced (new icons are based on GPL icon set: "KDE Crystal Diamond 2.5" -by paolino- and "kNeu! Alpha v0.1" -by Pablo Fabregat-)...
r154 <td align="center"><%= image_tag 'true.png' if custom_field.is_required? %></td>
<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
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>
<% end %>
Jean-Philippe Lang
css cleaning...
r105 </tbody>
Jean-Philippe Lang
Initial commit...
r2 </table>
Jean-Philippe Lang
0.3 unstable...
r10 <%= pagination_links_full @custom_field_pages %>
Jean-Philippe Lang
Initial commit...
r2
<br />
Jean-Philippe Lang
0.3 unstable...
r10 <%=l(:label_custom_field_new)%>:
<ul>
<li><%= link_to l(:label_issue_plural), :action => 'new', :type => 'IssueCustomField' %></li>
<li><%= link_to l(:label_project_plural), :action => 'new', :type => 'ProjectCustomField' %></li>
<li><%= link_to l(:label_user_plural), :action => 'new', :type => 'UserCustomField' %></li>
</ul>