set/all/history/actions.rb in card-mod-history-0.15.0 vs set/all/history/actions.rb in card-mod-history-0.15.1
- old
+ new
@@ -57,16 +57,16 @@
def toggle_action_content_link action, view_type
other_view_type = view_type == :expanded ? :summary : :expanded
css_class = "revision-#{action.card_act_id} float-end"
link_to_view "action_#{other_view_type}",
- icon_tag(action_arrow_dir(view_type), class: "md-24"),
+ icon_tag(action_arrow_dir(view_type)),
class: css_class,
path: { action_id: action.id, look_in_trash: true }
end
def action_arrow_dir view_type
- view_type == :expanded ? :triangle_left : :triangle_right
+ view_type == :expanded ? :collapse : :expand
end
def revert_actions_link link_text, path_args, html_args={}
return unless card.ok? :update