1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-07-15 16:04:01 +00:00

Merge pull request #937 from haiwen/shared-dir-last-update

add "Last Update" for shared dir
This commit is contained in:
llj 2015-12-15 14:09:44 +08:00
commit 5ba2ac18c8

View File

@ -39,8 +39,9 @@
<tr>
<th width="5%"></th>
<th width="55%">{% trans "Name"%}</th>
<th width="20%">{% trans "Size"%}</th>
<th width="20%">{% trans "Operations"%}</th>
<th width="14%">{% trans "Size"%}</th>
<th width="16%">{% trans "Last Update"%}</th>
<th width="10%">{% trans "Operations"%}</th>
</tr>
{% for dirent in dir_list %}
@ -50,6 +51,7 @@
<a href="?p={{ path|urlencode }}{{ dirent.obj_name|urlencode }}&mode={{mode}}" class="normal">{{ dirent.obj_name }}</a>
</td>
<td></td>
<td>{{ dirent.last_modified|translate_seahub_time }}</td>
<td>
{% if not traffic_over_limit %}
<a class="op-icon vh" href="{% url "view_shared_dir" token %}?p={{ path|urlencode }}{{ dirent.obj_name|urlencode }}&dl=1" title="{% trans 'Download' %}">
@ -81,6 +83,7 @@
</td>
<td>{{ dirent.file_size|filesizeformat }}</td>
<td>{{ dirent.last_modified|translate_seahub_time }}</td>
<td>
{% if not traffic_over_limit %}
<a class="op-icon vh" href="{% url "view_file_via_shared_dir" token %}?p={{ path|urlencode }}{{ dirent.obj_name|urlencode }}&dl=1" title="{% trans "Download"%}">