mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-07 03:01:33 +00:00
Call AdminTooltipComponent directly and remove unnecessary partial
This commit is contained in:
committed by
Maikel Linke
parent
7433f6d183
commit
50265780cf
@@ -12,10 +12,10 @@
|
||||
%th= t('.manager')
|
||||
%th.center
|
||||
= t('.owner')
|
||||
= render partial: 'admin/shared/question_circle_tooltip', locals: { tooltip_text: t('.owner_tip') }
|
||||
= render AdminTooltipComponent.new(text: t('.owner_tip'), link_text: %[<i class="fa fa-question-circle"></i>].html_safe, link: nil)
|
||||
%th.center
|
||||
= t('.contact')
|
||||
= render partial: 'admin/shared/question_circle_tooltip', locals: { tooltip_text: t('.contact_tip') }
|
||||
= render AdminTooltipComponent.new(text: t('.contact_tip'), link_text: %[<i class="fa fa-question-circle"></i>].html_safe, link: nil)
|
||||
%tbody
|
||||
- @enterprise.users.each do |user|
|
||||
- contact = user.id == @enterprise.contact&.id
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
= render AdminTooltipComponent.new(text: tooltip_text, link_text: %[<i class="fa fa-question-circle"></i>].html_safe, link: nil)
|
||||
Reference in New Issue
Block a user