Changeset View
Changeset View
Standalone View
Standalone View
swh/web/templates/includes/directory-display.html
Show First 20 Lines • Show All 47 Lines • ▼ Show 20 Lines | <table class="table swh-table swh-directory-table"> | ||||
{{ f.length }} | {{ f.length }} | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
{% endfor %} | {% endfor %} | ||||
</tbody> | </tbody> | ||||
</table> | </table> | ||||
</div> | </div> | ||||
<hr class="mt-0 mb-2"> | <hr class="mt-0 mb-2"> | ||||
{% elif "revision_found" in swh_object_metadata and swh_object_metadata.revision_found is False %} | |||||
<i>Revision {{ swh_object_metadata.revision }} could not be found in the archive.</i> | |||||
<br/> | |||||
<i>Its associated directory can not be displayed.</i> | |||||
{% elif dirs|length == 0 and files|length == 0 %} | {% elif dirs|length == 0 and files|length == 0 %} | ||||
<i>Directory is empty</i> | <i>Directory is empty</i> | ||||
{% endif %} | {% endif %} |