Class: Card::Act::ActRenderer::AbsoluteActRenderer
- Inherits:
-
Card::Act::ActRenderer
- Object
- Card::Act::ActRenderer
- Card::Act::ActRenderer::AbsoluteActRenderer
- Defined in:
- lib/card/act/act_renderer/absolute_act_renderer.rb
Overview
Used for recent changes. It shows all actions of an act
Instance Method Summary collapse
- #actions ⇒ Object
-
#revert_link ⇒ Object
FIXME: how do we know we need main here??.
- #subtitle ⇒ Object
- #title ⇒ Object
Methods inherited from Card::Act::ActRenderer
#absolute_title, #accordion_item, #act_links, #act_type, #action_summary, #actor_and_ago, #approved_actions, #autosaved_draft_link, #count_types, #details, #edited_ago, #header, #initialize, #link_to_act_card, #link_to_history, #method_missing, #render, #respond_to_missing?, #summary
Constructor Details
This class inherits a constructor from Card::Act::ActRenderer
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Card::Act::ActRenderer
Instance Method Details
#actions ⇒ Object
22 23 24 |
# File 'lib/card/act/act_renderer/absolute_act_renderer.rb', line 22 def actions @act.actions end |
#revert_link ⇒ Object
FIXME: how do we know we need main here??
16 17 18 19 20 |
# File 'lib/card/act/act_renderer/absolute_act_renderer.rb', line 16 def revert_link revert_actions_link "revert to previous", { revert_to: :previous, revert_act: @act.id }, { "data-slot-selector": "#main > .card-slot" } end |
#subtitle ⇒ Object
11 12 13 |
# File 'lib/card/act/act_renderer/absolute_act_renderer.rb', line 11 def subtitle actor_and_ago end |
#title ⇒ Object
7 8 9 |
# File 'lib/card/act/act_renderer/absolute_act_renderer.rb', line 7 def title absolute_title end |