From e833bec5e93f40eddea5192b1721128cb149d6ec Mon Sep 17 00:00:00 2001 From: Andrew Brown Date: Thu, 15 Jun 2023 14:34:27 -0700 Subject: [PATCH] don't do new timeline customization yet --- .../display/_tailwind_foldered_index.html.erb | 37 ++++++++++--------- 1 file changed, 20 insertions(+), 17 deletions(-) diff --git a/app/views/content/display/_tailwind_foldered_index.html.erb b/app/views/content/display/_tailwind_foldered_index.html.erb index 25237b26..00719833 100644 --- a/app/views/content/display/_tailwind_foldered_index.html.erb +++ b/app/views/content/display/_tailwind_foldered_index.html.erb @@ -72,10 +72,12 @@ <% end %>
- <%= link_to attribute_customization_path(content_type_name.downcase) do %> - + <% if Rails.application.config.content_type_names.include?(content_type_name) %> + <%= link_to attribute_customization_path(content_type_name.downcase) do %> + + <% end %> <% end %> <% if current_user.can_create?(content_type_class) || PermissionService.user_has_active_promotion_for_this_content_type(user: current_user, content_type: content_type_class.name) %> @@ -446,19 +448,20 @@ <% if content.empty? %>
<% if Rails.application.config.content_type_names.include?(content_type_name) %> -
- <%= link_to attribute_customization_path(content_type_name.downcase) do %> - - <% end %> -
+
+ <%= link_to attribute_customization_path(content_type_name.downcase) do %> + + <% end %> +
+ <% end %>
<%= link_to new_polymorphic_path(content_type_class) do %>