<%= link_to(l(:label_project_alias_new), { :action => 'new' }, :class => 'icon icon-add') if @projects.any? %>

<%= l(:label_project_alias_plural) %>

<% if @aliases.any? %>
<%= sort_header_tag('alias', :caption => l(:field_alias)) %> <%= sort_header_tag('identifier', :caption => l(:field_identifier)) %> <%= sort_header_tag('project', :caption => l(:field_project)) %> <% @aliases.each do |project_alias| %> <% end %>
<%= link_to(project_alias.alias, { :controller => 'projects', :action => 'show', :id => project_alias.alias }) %> <%= link_to(project_alias.project.identifier, { :controller => 'projects', :action => 'show', :id => project_alias.project.identifier }) %> <%= link_to_project(project_alias.project) %> <%= link_to(l(:button_use_as_identifier), { :action => 'rename', :id => project_alias }, :method => :put, :class => 'icon icon-rename') %> <%= link_to(l(:button_delete), { :action => 'destroy', :id => project_alias }, :data => { :confirm => l(:text_are_you_sure) }, :method => :delete, :class => 'icon icon-del') unless project_alias.undeletable? %>
<% else %>

<%= l(:label_no_data) %>

<% end %> <% html_title(l(:label_project_alias_plural)) %>