diff --git a/app/models/query/highlighting.rb b/app/models/query/highlighting.rb index ccdf0692edc..4c9d216c584 100644 --- a/app/models/query/highlighting.rb +++ b/app/models/query/highlighting.rb @@ -69,8 +69,6 @@ module Query::Highlighting end def highlighted_attributes - return [] unless EnterpriseToken.allows_to?(:conditional_highlighting) - val = super if val.present? @@ -81,8 +79,6 @@ module Query::Highlighting end def highlighting_mode - return :none unless EnterpriseToken.allows_to?(:conditional_highlighting) - val = super if val.present? diff --git a/app/views/admin/settings/work_packages_general/show.html.erb b/app/views/admin/settings/work_packages_general/show.html.erb index baecea49136..815fdd0e856 100644 --- a/app/views/admin/settings/work_packages_general/show.html.erb +++ b/app/views/admin/settings/work_packages_general/show.html.erb @@ -1,4 +1,4 @@ -<%#-- copyright +<%# -- copyright OpenProject is an open source project management software. Copyright (C) the OpenProject GmbH @@ -25,7 +25,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. See COPYRIGHT and LICENSE files for more details. -++#%> +++# %> <% html_title t(:label_administration), t(:label_work_package_plural), t(:label_general) -%> @@ -66,19 +66,12 @@ See COPYRIGHT and LICENSE files for more details. end, Hash.new.tap do |options| options[:container_class] = "-middle" - options[:disabled] = "disabled" unless EnterpriseToken.allows_to?(:conditional_highlighting) options[:data] = { show_when_value_selected_target: "cause", target_name: "work_package_list_default_highlighting_mode" } end ) %> -