Files
fizzy/app/views/account/settings/show.html.erb
T
Kevin McConnell e16cc21b0a Add "data export" feature
- Adds a button in Account Settings where you can request a ZIP export of your
  Fizzy data
- Export files are created in the background. When ready, a link to
  download them is sent to the requester.
- Exports expire after 24 hours. And are limited to 10 per day.
2025-12-01 15:23:26 +00:00

21 lines
654 B
Plaintext

<% @page_title = "Account Settings" %>
<% content_for :header do %>
<h1 class="header__title">
<%= @page_title %>
<% unless Current.user.admin? %>
<div class="txt-normal font-weight-normal">Only admins can change these settings</div>
<% end %>
</h1>
<% end %>
<section class="settings margin-block-start-half">
<div class="settings__panel settings__panel--users panel shadow center">
<%= render "account/settings/name", account: @account %>
<%= render "account/settings/users", users: @users %>
</div>
<%= render "account/settings/entropy", account: @account %>
<%= render "account/settings/export" %>
</section>