##// END OF EJS Templates
contextual links redesign...
contextual links redesign git-svn-id: http://redmine.rubyforge.org/svn/trunk@93 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r90:236c735d08c0
r90:236c735d08c0
Show More
projects.rhtml
31 lines | 1.2 KiB | text/html+ruby | RhtmlLexer
Jean-Philippe Lang
contextual links redesign...
r90 <div class="contextual">
<%= link_to l(:label_project_new), {:controller => 'projects', :action => 'add'}, :class => 'pic picAdd' %>
</div>
Jean-Philippe Lang
0.3 unstable...
r10 <h2><%=l(:label_project_plural)%></h2>
Jean-Philippe Lang
Initial commit...
r2
Jean-Philippe Lang
tables and forms redesign,...
r19 <table class="listTableContent">
Jean-Philippe Lang
Initial commit...
r2 <tr class="ListHead">
Jean-Philippe Lang
0.3 unstable...
r10 <%= sort_header_tag('name', :caption => l(:label_project)) %>
<th><%=l(:field_description)%></th>
<th><%=l(:field_is_public)%></th>
<th><%=l(:label_subproject_plural)%></th>
<%= sort_header_tag('created_on', :caption => l(:field_created_on)) %>
Jean-Philippe Lang
Initial commit...
r2 <th></th>
</tr>
Jean-Philippe Lang
v0.2.0...
r5 <% for project in @projects %>
<tr class="<%= cycle("odd", "even") %>">
Jean-Philippe Lang
Initial commit...
r2 <td><%= link_to project.name, :controller => 'projects', :action => 'settings', :id => project %>
Jean-Philippe Lang
0.3 unstable...
r10 <td><%= project.description %>
Jean-Philippe Lang
v0.2.0...
r5 <td align="center"><%= image_tag 'true' if project.is_public? %>
<td align="center"><%= project.projects_count %>
Jean-Philippe Lang
Initial commit...
r2 <td align="center"><%= format_date(project.created_on) %>
Jean-Philippe Lang
tables and forms redesign,...
r19 <td align="center">
<%= button_to l(:button_delete), { :controller => 'projects', :action => 'destroy', :id => project }, :class => "button-small" %>
Jean-Philippe Lang
Initial commit...
r2 </td>
</tr>
<% end %>
</table>
Jean-Philippe Lang
v0.2.0...
r5 <p><%= pagination_links_full @project_pages %>
Jean-Philippe Lang
contextual links redesign...
r90 [ <%= @project_pages.current.first_item %> - <%= @project_pages.current.last_item %> / <%= @project_count %> ]</p>