Sha256: 7d9f699ab4a56edb058458741676e6de13ad9c7432b6f26192777a05610e51a7

Contents?: true

Size: 1.78 KB

Versions: 17

Compression:

Stored size: 1.78 KB

Contents

<div class="dashboard_unit" id="page_drafts">
  <h2 class="left">Page Drafts</h2>

  <%= form_tag cms.publish_pages_path, :method => :put do %>
    <div class="roundedcorners" style="position: relative">
      <table class="data">
        <thead>
          <tr>
            <th class="select first unbordered">&nbsp;</th>
            <th colspan="2"><div class="dividers">Name</div></th>
            <th><div class="dividers">User</div></th>
	          <th class="last" colspan="2">Date</th>
          </tr>
        </thead>
        <tbody>
          <% if @unpublished_pages.empty? %>
            <tr><td colspan="3">All pages are published</td></tr>
          <% else %>  
            <% @unpublished_pages.each do |page| %>
              <tr>
                <td class="first"></td>
                <td class="select"><%= check_box_tag "page_ids[]", page.id, false, :id => "publish_page_#{page.id}" %></td>
                <td class="name">
                  <div class="dividers">
                    <%= link_to h(page.name_with_section_path), page.path %>
                  </div>
                </td>
                <td class="updated_by">
                  <div class="dividers">
                    <%= h(page.updated_by ? page.updated_by.login : nil) %>
                  </div>
                </td>
                <td class="updated_at"><%= page.updated_at.strftime("%b %d") %></td>
                <td class="last"></td>
              </tr>
            <% end %>
            <tr>
              <td colspan="5"><%= lt_button_wrapper(submit_tag("Publish Selected", :class => "submit")) %></td>
            </tr>
          <% end %>
        </tbody>
      </table>
      <div class="tl"></div>
      <div class="tr"></div>
      <div class="bl"></div>
      <div class="br"></div>
    </div>
  <% end %>
</div>

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
browsercms-3.5.7 app/views/cms/dashboard/_page_drafts.html.erb
browsercms-3.5.6 app/views/cms/dashboard/_page_drafts.html.erb
browsercms-3.5.5 app/views/cms/dashboard/_page_drafts.html.erb
browsercms-3.5.4 app/views/cms/dashboard/_page_drafts.html.erb
browsercms-3.5.3 app/views/cms/dashboard/_page_drafts.html.erb
browsercms-3.5.2 app/views/cms/dashboard/_page_drafts.html.erb
browsercms-3.5.1 app/views/cms/dashboard/_page_drafts.html.erb
browsercms-3.5.0 app/views/cms/dashboard/_page_drafts.html.erb
browsercms-3.5.0.rc3 app/views/cms/dashboard/_page_drafts.html.erb
browsercms-3.5.0.rc2 app/views/cms/dashboard/_page_drafts.html.erb
browsercms-3.5.0.rc1 app/views/cms/dashboard/_page_drafts.html.erb
browsercms-3.4.2 app/views/cms/dashboard/_page_drafts.html.erb
browsercms-3.4.2.rc1 app/views/cms/dashboard/_page_drafts.html.erb
browsercms-3.4.1 app/views/cms/dashboard/_page_drafts.html.erb
browsercms-3.4.0 app/views/cms/dashboard/_page_drafts.html.erb
browsercms-3.4.0.rc2 app/views/cms/dashboard/_page_drafts.html.erb
browsercms-3.4.0.rc1 app/views/cms/dashboard/_page_drafts.html.erb