Sha256: c8f551f235d02b40c4cf7c5415aad120f8bad3a3a4584fa1f95f982b642f6f59

Contents?: true

Size: 692 Bytes

Versions: 7

Compression:

Stored size: 692 Bytes

Contents

format :html do
  view :history, cache: :never do
    frame do
      voo.show :toolbar
      class_up "d0-card-body",  "history-slot"
      acts_layout card.history_acts, :relative, :show
    end
  end

  view :act, cache: :never do
    act_listing act_from_context
  end

  view :act_legend do
    bs_layout do
      row md: [12, 12], lg: [7, 5] do
        col action_legend
        col content_legend, class: "text-right"
      end
    end
  end

  view :draft_legend do
    "#{action_icon(:draft)} unsaved draft"
  end

  view :action_summary do
    action_content action_from_context, :summary
  end

  view :action_expanded do
    action_content action_from_context, :expanded
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
card-1.96.8 mod/history/set/all/history/views.rb
card-1.96.7 mod/history/set/all/history/views.rb
card-1.96.6 mod/history/set/all/history/views.rb
card-1.96.5 mod/history/set/all/history/views.rb
card-1.96.4 mod/history/set/all/history/views.rb
card-1.96.3 mod/history/set/all/history/views.rb
card-1.96.2 mod/history/set/all/history/views.rb