Sha256: 1ec90bf540d3bd8ba1bf2d386a07b95ce20de7ceb8c8b4c3219c6dc37583d63f

Contents?: true

Size: 1.68 KB

Versions: 21

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

21 entries across 21 versions & 2 rubygems

Version Path
HornsAndHooves-publify_core-10.5.0 app/views/admin/dashboard/_welcome.html.erb
HornsAndHooves-publify_core-10.4.0 app/views/admin/dashboard/_welcome.html.erb
HornsAndHooves-publify_core-10.3.0 app/views/admin/dashboard/_welcome.html.erb
HornsAndHooves-publify_core-10.2.0 app/views/admin/dashboard/_welcome.html.erb
publify_core-9.2.10 app/views/admin/dashboard/_welcome.html.erb
HornsAndHooves-publify_core-10.1.1 app/views/admin/dashboard/_welcome.html.erb
HornsAndHooves-publify_core-10.1.0 app/views/admin/dashboard/_welcome.html.erb
HornsAndHooves-publify_core-10.0.3 app/views/admin/dashboard/_welcome.html.erb
HornsAndHooves-publify_core-10.0.2 app/views/admin/dashboard/_welcome.html.erb
HornsAndHooves-publify_core-10.0.1 app/views/admin/dashboard/_welcome.html.erb
HornsAndHooves-publify_core-10.0.0 app/views/admin/dashboard/_welcome.html.erb
publify_core-9.2.9 app/views/admin/dashboard/_welcome.html.erb
publify_core-9.2.8 app/views/admin/dashboard/_welcome.html.erb
publify_core-9.2.7 app/views/admin/dashboard/_welcome.html.erb
publify_core-9.2.6 app/views/admin/dashboard/_welcome.html.erb
publify_core-9.2.5 app/views/admin/dashboard/_welcome.html.erb
publify_core-9.2.4 app/views/admin/dashboard/_welcome.html.erb
publify_core-9.2.3 app/views/admin/dashboard/_welcome.html.erb
publify_core-9.2.2 app/views/admin/dashboard/_welcome.html.erb
publify_core-9.2.1 app/views/admin/dashboard/_welcome.html.erb