diff --git a/app/views/cards/serendipitous/_tailwind_content_question.html.erb b/app/views/cards/serendipitous/_tailwind_content_question.html.erb index 01dedae1..7e06ff91 100644 --- a/app/views/cards/serendipitous/_tailwind_content_question.html.erb +++ b/app/views/cards/serendipitous/_tailwind_content_question.html.erb @@ -1,4 +1,7 @@ <% + # DEPRECATED: This partial has been merged into app/views/main/components/_serendipitous_question.html.erb + # and is no longer used. It's kept here temporarily for reference. + # # Partial locals: `content` to ask a question about, and `field` for the field being questioned include_quick_reference = defined?(include_quick_reference) && !!include_quick_reference %> diff --git a/app/views/main/components/_recently_edited_pages.html.erb b/app/views/main/components/_recently_edited_pages.html.erb index 8fdd0604..e7fd8ee1 100644 --- a/app/views/main/components/_recently_edited_pages.html.erb +++ b/app/views/main/components/_recently_edited_pages.html.erb @@ -21,12 +21,6 @@ schedule edited <%= time_ago_in_words page.updated_at %> ago - <% if page.cached_word_count.present? %> - - description - <%= number_with_delimiter page.cached_word_count %> words - - <% end %> <% if page.respond_to?(:favorite?) && page.favorite? %> star <% end %> diff --git a/app/views/main/components/_serendipitous_question.html.erb b/app/views/main/components/_serendipitous_question.html.erb index bfef7836..f669588b 100644 --- a/app/views/main/components/_serendipitous_question.html.erb +++ b/app/views/main/components/_serendipitous_question.html.erb @@ -1,4 +1,4 @@ -<% if @content %> +<% if @content && @attribute_field_to_question %>
This is a little notice box about what's new. I can fit about 2 lines before I feel bad.
-This is a little notice box about what's new. I can fit about 2 lines before I feel bad.