Download all as zip should not be available if 0 documents

Description

If a project has 0 documents, the "Download all for offline translation" option should not be enabled. It provides basically an empty zip - albeit with the zanata.xml, which is in the menu above anyhow.

1. Create a project, and version
2. Select a language
3. Pull down the menu for the documents pane for that language

Actual:
Option is enabled, despite having zero value

Expected:
Option disabled

Environment

None

Status

Assignee

Damian Jansen

Reporter

Damian Jansen

Tested Version/s

None

Components

Fix versions

Affects versions

server-3.9.6
platform-4.0.0

Priority

Medium