Sha256: b74099d6e60911c5da7990cc95b5b8a886a8c4a124f72f7722c31a9ccaa9fdb5

Contents?: true

Size: 1.68 KB

Versions: 9

Compression:

Stored size: 1.68 KB

Contents

<div class="panel panel-default">
  <div class="panel-heading">
    <h3 class="panel-title"><%= t(".today") %></h3>
  </div>
  <div class="panel-body">
    <p><%= t(".articles_and_comments_count_since", articles_count: @newposts_count, comments_count: @newcomments_count) %></p>
    <p><%= t(".running_publify", version: PublifyCore::VERSION) %> <%= @version_message %></p>
    <div class='col-md-6'>
      <% if can? :index, 'admin/content' %>
        <h4 class='page-header'><%= t(".content") %></h4>
        <p><%= link_to(t(".articles_count", count: @statposts), controller: 'admin/content') %></p>
        <p><%= link_to(t(".your_articles_count", count: @statuserposts), controller: 'admin/content', "search[user_id]" => current_user.id) %></p>
        <p><%= link_to(t(".drafts_count", count: @statsdrafts), controller: 'admin/content', "search[state]" => "drafts") %></p>
        <p><%= link_to(t(".pages_count", count: @statspages), controller: 'admin/pages') %></p>
        <p><%= link_to(t(".notes_count", count: @statuses), controller: 'admin/notes') %></p>
      <% end %>
    </div>
    <div class='col-md-6'>
      <% if can? :index, 'admin/feedback' %>
        <h4 class='page-header'><%= t(".feedback") %></h4>
        <p><%= link_to(t('.comments_count', count: @statcomments), controller: 'admin/feedback') %></p>
        <p><%= link_to(t('.approved_count', count: @confirmed), controller: 'admin/feedback', only: 'ham') %></p>
        <p><%= link_to(t('.unconfirmed_count', count: @unconfirmed), controller: 'admin/feedback', only: 'unapproved') %></p>
        <p><%= link_to(t(".spam_count", count: @statspam), controller: 'admin/feedback', only: 'spam') %></p>
      <% end %>
    </div>
  </div>
</div>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
publify_core-9.1.0 app/views/admin/dashboard/_welcome.html.erb
publify_core-9.0.1 app/views/admin/dashboard/_welcome.html.erb
publify_core-9.0.0 app/views/admin/dashboard/_welcome.html.erb
publify_core-9.0.0.pre6 app/views/admin/dashboard/_welcome.html.erb
publify_core-9.0.0.pre5 app/views/admin/dashboard/_welcome.html.erb
publify_core-9.0.0.pre4 app/views/admin/dashboard/_welcome.html.erb
publify_core-9.0.0.pre3 app/views/admin/dashboard/_welcome.html.erb
publify_core-9.0.0.pre2 app/views/admin/dashboard/_welcome.html.erb
publify_core-9.0.0.pre1 app/views/admin/dashboard/_welcome.html.erb