Sha256: 12b1f6d582d5f4dcd1a0b505fb06ff6a721a0ada77e5feb422b54ac069602e25
Contents?: true
Size: 838 Bytes
Versions: 11
Compression:
Stored size: 838 Bytes
Contents
class Card class Act class ActRenderer # Used for recent changes. # It shows all actions of an act class AbsoluteActRenderer < ActRenderer def title absolute_title end def subtitle wrap_with :small do [ @format.link_to_card(@act.actor, nil, class: "_stop_propagation"), edited_ago, rollback_link ] end end # FIXME: how do we know we need main here?? def revert_link revert_actions_link "revert to previous", { revert_to: :previous, revert_act: @act.id }, { "data-slot-selector": "#main > .card-slot" } end def actions @act.actions end end end end end
Version data entries
11 entries across 11 versions & 1 rubygems