templates: don't include document count on homepage (#41615)
This commit is contained in:
parent
ed09b38596
commit
c77aa8a455
|
@ -124,7 +124,6 @@ class Homepage(SingleTableMixin, CommonUpload):
|
|||
ctx['occupancy_ratio_percent'] = float(occupancy) * 100.0 / max_size
|
||||
ctx['max_documents_per_user'] = settings.FARGO_MAX_DOCUMENTS_PER_USER
|
||||
ctx['full'] = self.full
|
||||
ctx['count'] = self.count
|
||||
return ctx
|
||||
|
||||
def post(self, request, *args, **kwargs):
|
||||
|
|
|
@ -44,16 +44,6 @@
|
|||
<div class="cell">
|
||||
<h2>{% if site_title %}{{ site_title }}{% else %}{% trans "Portfolio" %}{% endif %}</h2>
|
||||
<div id="user-files">
|
||||
{% if count %}
|
||||
<div id="user-files-count">
|
||||
{% blocktrans count documents_count=count trimmed %}
|
||||
You have {{ documents_count }} document stored.
|
||||
{% plural %}
|
||||
You have {{ documents_count }} documents stored.
|
||||
{% endblocktrans %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% render_table table "fargo/table.html" %}
|
||||
|
||||
{% if full %}
|
||||
|
|
Loading…
Reference in New Issue