Files
nairobi/app/components/account/verify_account_component.html.erb
Javi Martín 3938f4ff95 Render account verified icon using CSS
As mentioned in commit 925f04e3f, icon classes make screen readers
announce strange symbols and aren't properly displayed for people who
have changed their preferred font family.
2023-01-04 16:06:29 +01:00

18 lines
538 B
Plaintext

<div class="verify-account">
<% if account.level_three_verified? %>
<p class="already-verified">
<%= t("account.show.verified_account") %>
</p>
<% else %>
<p>
<%= t("account.show.user_permission_verify") %>
</p>
<% if account.level_two_verified? %>
<%= link_to t("account.show.finish_verification"), verification_path, class: "button success" %>
<% else %>
<%= link_to t("account.show.verify_my_account"), verification_path, class: "button success" %>
<% end %>
<% end %>
</div>