Skip to content

Commit

Permalink
feat: added quota display to settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrian Herrmann committed Jan 29, 2025
1 parent f38d2e0 commit 4a36abe
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions app/views/pages/settings.haml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@
%h1
Account & Profile

- if current_user.available_space != 0
.card
.card-header Quota
.card-body
.row.mb-3
.col-3.offset-3.col-form-label
Used Space / Available Space
.col
= "#{current_user.used_space / 1024 /1024} MB \/ #{current_user.available_space / 1024 /1024} MB"

.card
.card-header Reaction Label
.card-body
Expand Down

0 comments on commit 4a36abe

Please sign in to comment.