mod/standard/set/all/rich_html/title.rb in card-1.98.3 vs mod/standard/set/all/rich_html/title.rb in card-1.99.0
- old
+ new
@@ -1,7 +1,7 @@
format do
- view :title, closed: true, perms: :none do
+ view :title, compact: true, perms: :none do
standard_title
end
def standard_title
name_variant title_in_context(voo.title)
@@ -11,14 +11,14 @@
format :html do
view :title do
show_view?(:title_link, :hide) ? render_title_link : render_title_no_link
end
- view :title_link, closed: true, perms: :none do
+ view :title_link, compact: true, perms: :none do
link_to_card card.name, render_title_no_link
end
- view :title_no_link, closed: true, perms: :none do
+ view :title_no_link, compact: true, perms: :none do
wrapped_title standard_title
end
def title_with_link link_text
link_to_card card.name, link_text