We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3a4af0 commit f548c83Copy full SHA for f548c83
app/views/content/form/_panel.html.erb
@@ -9,7 +9,11 @@
9
<h5>
10
Upload more images
11
<small class="grey-text">
12
- You have <%= Filesize.from("#{current_user.upload_bandwidth_kb}KB").pretty %> of bandwidth remaining.
+ <% if current_user.upload_bandwidth_kb > 0 %>
13
+ You have <%= Filesize.from("#{current_user.upload_bandwidth_kb}KB").pretty %> of bandwidth remaining.
14
+ <% else %>
15
+ You have no upload bandwidth remaining. Upgrade to Premium or delete some existing images for more.
16
+ <% end %>
17
</small>
18
</h5>
19
</div>
0 commit comments