2022-06-08 10:20:36 +02:00
|
|
|
<div class="twoColumnsContainer">
|
2022-05-01 18:00:38 +02:00
|
|
|
<%= render 'menu' %>
|
2022-07-18 10:47:54 +02:00
|
|
|
<div>
|
|
|
|
|
<%=
|
|
|
|
|
react_component(
|
|
|
|
|
'SiteSettings/General',
|
|
|
|
|
{
|
|
|
|
|
originForm: {
|
|
|
|
|
siteName: @tenant.site_name,
|
|
|
|
|
siteLogo: @tenant.site_logo,
|
2023-02-04 15:43:15 +01:00
|
|
|
brandDisplaySetting: @tenant_setting.brand_display,
|
2023-02-05 11:55:38 +01:00
|
|
|
showVoteCount: @tenant_setting.show_vote_count,
|
|
|
|
|
showVoteButtonInBoard: @tenant_setting.show_vote_button_in_board,
|
2024-02-27 18:32:14 +01:00
|
|
|
showPoweredBy: @tenant_setting.show_powered_by,
|
2023-02-05 11:55:38 +01:00
|
|
|
rootBoardId: @tenant_setting.root_board_id.to_s,
|
2024-03-24 12:54:02 +01:00
|
|
|
customDomain: @tenant.custom_domain,
|
2024-07-12 20:38:46 +02:00
|
|
|
allowAnonymousFeedback: @tenant_setting.allow_anonymous_feedback,
|
|
|
|
|
feedbackApprovalPolicy: @tenant_setting.feedback_approval_policy,
|
2023-02-11 11:35:27 +01:00
|
|
|
showRoadmapInHeader: @tenant_setting.show_roadmap_in_header,
|
|
|
|
|
collapseBoardsInHeader: @tenant_setting.collapse_boards_in_header,
|
2022-07-18 10:47:54 +02:00
|
|
|
locale: @tenant.locale
|
|
|
|
|
},
|
2023-02-05 11:55:38 +01:00
|
|
|
boards: @tenant.boards.order(order: :asc),
|
2024-03-28 12:29:54 +01:00
|
|
|
isMultiTenant: Rails.application.multi_tenancy?,
|
2022-07-18 10:47:54 +02:00
|
|
|
authenticityToken: form_authenticity_token
|
|
|
|
|
}
|
|
|
|
|
)
|
|
|
|
|
%>
|
2022-05-01 18:00:38 +02:00
|
|
|
</div>
|
|
|
|
|
</div>
|