49 lines
1.6 KiB
Plaintext
49 lines
1.6 KiB
Plaintext
<div class="contextual">
|
|
<%= link_to l(:label_organization_new), new_organization_path, :class => 'icon icon-add' %>
|
|
</div>
|
|
|
|
<h3>
|
|
<%=l(:label_organization_list)%>
|
|
</h3>
|
|
|
|
<div class="autoscroll">
|
|
<table class="list" style="width: 100%;table-layout: fixed">
|
|
<thead>
|
|
<tr>
|
|
<th>
|
|
<%=l(:label_organization)%>
|
|
</th>
|
|
<th>
|
|
<%=l(:field_created_on)%>
|
|
</th>
|
|
<th></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<% @organizations.each do |org|%>
|
|
<tr class="<%= cycle("odd", "even") %>">
|
|
<td style="text-align:center;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" class="name" title='<%=org.name%>'>
|
|
<span>
|
|
<%#= link_to org.name,home_path(:organization => org.id) %>
|
|
<%= link_to org.name, organization_path(org) %>
|
|
</span>
|
|
</td>
|
|
<td align="center">
|
|
<%= format_date(org.created_at) %>
|
|
</td>
|
|
<td class="buttons">
|
|
<%= link_to(l(:button_change), edit_organization_path(org.id), :class => 'icon icon-copy') %>
|
|
<%= link_to(l(:button_delete), organization_path(org.id), :method => :delete,:confirm => l(:text_are_you_sure), :class => 'icon icon-del') %>
|
|
</td>
|
|
</tr>
|
|
<% end%>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<ul class="wlist" id="pages" style="float: right;margin-top: 10px;">
|
|
<%= pagination_links_full @organization_pages, @organization_count ,:per_page_links => true, :remote => false, :flag => true %>
|
|
</ul>
|
|
|
|
<!% html_title(l(:llabel_organization_list)) -%>
|