Skip to content

Commit

Permalink
status with no files (bug 621038)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Balogh committed Dec 23, 2010
1 parent 071f827 commit ed787ca
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apps/devhub/templates/devhub/versions/list.html
Expand Up @@ -109,12 +109,14 @@ <h3>{{ _('Version History') }}</h3>
</span>
</td>
<td class="file-status">
{% for (count, status) in dev_files_status(version.files.all()): %}
{% for (count, status) in dev_files_status(version.all_files): %}
<div>
{# L10n: {0} is the number of files, {1} is the status #}
{{ ngettext('{0} file is {1}', '{0} files are {1}', count)
.format(count, status) }}
</div>
{% else %}
{{ _('0 files') }}
{% endfor %}
</td>
<td>
Expand Down

0 comments on commit ed787ca

Please sign in to comment.