mirror of
https://github.com/haiwen/seahub.git
synced 2025-07-16 08:16:55 +00:00
Merge pull request #937 from haiwen/shared-dir-last-update
add "Last Update" for shared dir
This commit is contained in:
commit
5ba2ac18c8
@ -39,8 +39,9 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<th width="5%"></th>
|
<th width="5%"></th>
|
||||||
<th width="55%">{% trans "Name"%}</th>
|
<th width="55%">{% trans "Name"%}</th>
|
||||||
<th width="20%">{% trans "Size"%}</th>
|
<th width="14%">{% trans "Size"%}</th>
|
||||||
<th width="20%">{% trans "Operations"%}</th>
|
<th width="16%">{% trans "Last Update"%}</th>
|
||||||
|
<th width="10%">{% trans "Operations"%}</th>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
{% for dirent in dir_list %}
|
{% 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>
|
<a href="?p={{ path|urlencode }}{{ dirent.obj_name|urlencode }}&mode={{mode}}" class="normal">{{ dirent.obj_name }}</a>
|
||||||
</td>
|
</td>
|
||||||
<td></td>
|
<td></td>
|
||||||
|
<td>{{ dirent.last_modified|translate_seahub_time }}</td>
|
||||||
<td>
|
<td>
|
||||||
{% if not traffic_over_limit %}
|
{% 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' %}">
|
<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>
|
||||||
|
|
||||||
<td>{{ dirent.file_size|filesizeformat }}</td>
|
<td>{{ dirent.file_size|filesizeformat }}</td>
|
||||||
|
<td>{{ dirent.last_modified|translate_seahub_time }}</td>
|
||||||
<td>
|
<td>
|
||||||
{% if not traffic_over_limit %}
|
{% 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"%}">
|
<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"%}">
|
||||||
|
Loading…
Reference in New Issue
Block a user