<header>
  <div class="title">
    <%= link_to project.title, chapter_project_path(project.chapter, project), :class => "title" %>
  </div>

  <section class="meta-data">
    <%= project.created_at %> (<%= project.chapter.name %>)

    <% if project.winner? %>
      · <%= link_to I18n.t(".view-public-page", scope: "projects.project"), project_path(project), :target => "blank" %>
    <% end %>

    <% if current_user.can_edit_project?(project) -%>
      <span class="spam">
        <%= link_to I18n.t(".delete", scope: "projects.project"), project_path(project), :method => :delete, :data => { :confirm => I18n.t(".confirm-delete", scope: "projects.project", scope: "projects.project") }, :class => 'delete-spam' %>
      </span>
    <% end -%>
  </section>

  <section class="contact">
    <span>
      <%= project.name %>
    </span>

    <span>
      · <%= mail_to project.email %>
    </span>

    <% if project.phone.present? %>
      <span>
        · <%= project.phone %>
      </span>
    <% end %>

    <% if project.url.present? %>
      <span>
        · <%= link_to project.url, project.url %>
      </span>
    <% end %>
  </section>
</header>


<header>
  <div class="title">
    <%= link_to project.title, chapter_project_path(project.chapter, project), :class => "title" %>
  </div>

  <section class="meta-data">
    <%= project.created_at %> (<%= project.chapter.name %>)

    <% if project.winner? %>
      · <%= link_to I18n.t(".view-public-page", scope: "projects.project"), project_path(project), :target => "blank" %>
    <% end %>

    <% unless FEATURE_NEW_ACTIONS? %>
    <% if current_user.can_edit_project?(project) -%>
      <span class="spam">
        <%= link_to I18n.t(".delete", scope: "projects.project"), project_path(project), :method => :delete, :data => { :confirm => I18n.t(".confirm-delete", scope: "projects.project", scope: "projects.project") }, :class => 'delete-spam' %>
      </span>
    <% end -%>
    <% end %>
  </section>

  <section class="contact">
    <span>
      <%= project.name %>
    </span>

    <span>
      · <%= mail_to project.email %>
    </span>

    <% if project.phone.present? %>
      <span>
        · <%= project.phone %>
      </span>
    <% end %>

    <% if project.url.present? %>
      <span>
        · <%= link_to project.url, project.url %>
      </span>
    <% end %>
  </section>
</header>


Remove 'delete' link from hidden projects in index view
Remove 'delete' link from hidden projects in index view
