Sha256: ececb98a1c018d5a51a6f2da2ecaf402ec9c5aeaf9048777ee82a94715257335

Contents?: true

Size: 1.58 KB

Versions: 4

Compression:

Stored size: 1.58 KB

Contents

<%- content_for(:stylesheets) do -%>
  <%= stylesheet_link_tag('alchemy_crm/styles') %>
<%- end -%>

<%- content_for :toolbar do -%>
<div id="toolbar_buttons">
  <div class="button_with_label">
    <%= link_to_overlay_window(
      content_tag('span', '', :class => 'icon format_add'),
      new_admin_newsletter_path(),
      {
        :title => alchemy_crm_t(:add_newsletter),
        :size => '340x220'
      },
      {
        :title => alchemy_crm_t(:add_newsletter),
        :class => 'icon_button'
      }
    ) -%><br />
    <label><%= alchemy_crm_t(:add_newsletter) %></label>
  </div>
</div>
<%= render :partial => 'alchemy/admin/partials/search_form' %>
<%- end -%>

<table class="list">
  <%- unless @newsletters.blank? -%>
  <tr class="legend">
    <th class="icon"></th>
    <th class="name"><%= translate_model_attribute(:newsletter, :name) %></th>
    <th style="width: 120px"><%= translate_model_attribute(:newsletter, :layout) %></th>
    <th style="width: 80px" class="center"><%= translate_model_attribute(:newsletter, :public) %></th>
    <th class="size" style="width: 120px"><%= translate_model_attribute(:newsletter, :contacts_count) %></th>
    <th class="size" style="width: 120px"><%= translate_model_attribute(:newsletter, :subscribers_count) %></th>
    <th class="size" style="width: 120px"><%= translate_model_attribute(:newsletter, :contact_group_contacts_count) %></th>
    <th class="tools" style="width: 44px"></th>
  </tr>
  <%- end -%>
  <%= render @newsletters %>
</table>

<%= render 'alchemy/admin/partials/pagination_links', :items => @newsletters, :scope => alchemy_crm %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
alchemy_crm-2.0.5 app/views/alchemy_crm/admin/newsletters/index.html.erb
alchemy_crm-2.0.4.1 app/views/alchemy_crm/admin/newsletters/index.html.erb
alchemy_crm-2.0.3 app/views/alchemy_crm/admin/newsletters/index.html.erb
alchemy_crm-2.0.2 app/views/alchemy_crm/admin/newsletters/index.html.erb