diff --git a/seahub/templates/view_shared_dir.html b/seahub/templates/view_shared_dir.html index 9995b14584..5891f7d652 100644 --- a/seahub/templates/view_shared_dir.html +++ b/seahub/templates/view_shared_dir.html @@ -2,6 +2,11 @@ {% load seahub_tags i18n %} {% load url from future %} +{% load staticfiles %} + +{% block extra_style %} + +{% endblock %} {% block main_panel %}

{{ dir_name }}

@@ -63,7 +68,11 @@ {% endif %} - {{ dirent.props.obj_name }} + {% if dirent.is_img %} + {{ dirent.obj_name }} + {% else %} + {{ dirent.obj_name }} + {% endif %} {{ dirent.file_size|filesizeformat }} @@ -82,6 +91,7 @@ {% endblock %} {% block extra_script %} +