OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/app/views/users/_consent.html.erb

11 lines
492 B

<section class="form--section">
<h3 class="form--section-title"><%=t('consent.title')%></h3>
<%= rails_cell ::Components::OnOffStatusCell,
{
is_on: @user.consented_at.present?,
on_text: format_time(@user.consented_at),
on_description: t('consent.user_has_consented'),
off_text: t(:label_never),
off_description: t('consent.not_yet_consented')
} %>
</section>