Sha256: 9cb605ff285f75cbcded05393d812bd2f14c668244afb81710ac18e1122e2236

Contents?: true

Size: 1.41 KB

Versions: 1

Compression:

Stored size: 1.41 KB

Contents

%h2.border
  = t(".history")
  %span.dashboard-periods
    = link_to({period: "week"}, :remote => true, :class => ["link link-sm period-week", ("active" if @period == 1.week)]) do
      = t(".week")
    = link_to({period: "month"}, :remote => true, :class => ["link link-sm period-month", ("active" if @period == 1.month)]) do
      = t(".month")
    = link_to({period: "6months"}, :remote => true, :class => ["link link-sm period-6months", ("active" if @period == 6.months)]) do
      = t(".6months")
    = link_to({period: "year"}, :remote => true, :class => ["link link-sm period-year", ("active" if @period == 1.year)]) do
      = t(".year")

.history-graph{data: {delivered: @delivered.to_json, failed: @failed.to_json, skipped: @skipped.to_json}}

%p

.container-fluid
  .well.row.statusbox
    .col-sm-12.clearfix
      .col-sm-3
        %strong.text-muted.processed-count= @processed_count
        %br
        %span= tw("logs.status.processed")
      .col-sm-3
        %strong.delivered-count= @delivered_count
        %br
        %span= tw("logs.status.delivered")
      .col-sm-3
        %strong.text-warning.skipped-count= @skipped_count
        %br
        %span= tw("logs.status.skipped")
      .col-sm-3
        %strong.text-danger.failed-count= @failed_count
        %br
        %span= tw("logs.status.failed")

%p

= smart_listing_render :logs

%h2.border
  = tw("logs.scheduled_deliveries")
= smart_listing_render :scheduled_logs

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
maily_herald-webui-0.8.0 app/views/maily_herald/webui/dashboard/index.html.haml