mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-16 06:03:35 +00:00
update code: rm cspt
This commit is contained in:
parent
a65f94656a
commit
3a47c427bb
@ -22,7 +22,7 @@
|
|||||||
<td>{{ publink.ctime|translate_seahub_time }} </td>
|
<td>{{ publink.ctime|translate_seahub_time }} </td>
|
||||||
<td>{{ publink.view_cnt }}</td>
|
<td>{{ publink.view_cnt }}</td>
|
||||||
<td>
|
<td>
|
||||||
<a class="op vh rm-link cspt" href="#" data-token="{{ publink.token }}" >{% trans "Remove" %}</a>
|
<a class="op vh rm-link" href="#" data-token="{{ publink.token }}">{% trans "Remove" %}</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
@ -50,6 +50,7 @@ $('.rm-link').click(function() {
|
|||||||
},
|
},
|
||||||
error: ajaxErrorHandler
|
error: ajaxErrorHandler
|
||||||
});
|
});
|
||||||
|
return false;
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
<td>{{ r.file_path }}</td>
|
<td>{{ r.file_path }}</td>
|
||||||
<td>
|
<td>
|
||||||
{% if not r.has_handle %}
|
{% if not r.has_handle %}
|
||||||
<a class="op vh rm-record cspt" href="#" data-url="{% url "sys_delete_virus_scan_records" r.vid %}">{% trans "Delete" %}</a>
|
<a class="op vh rm-record" href="#" data-url="{% url "sys_delete_virus_scan_records" r.vid %}">{% trans "Delete" %}</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<span style="color: green;">{% trans "Handled" %}</span>
|
<span style="color: green;">{% trans "Handled" %}</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@ -50,6 +50,7 @@ $('.rm-record').click(function() {
|
|||||||
},
|
},
|
||||||
error: ajaxErrorHandler
|
error: ajaxErrorHandler
|
||||||
});
|
});
|
||||||
|
return false;
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -171,7 +171,7 @@
|
|||||||
<td>{% trans "Download" %}</td>
|
<td>{% trans "Download" %}</td>
|
||||||
<td>{{ link.view_cnt }}</td>
|
<td>{{ link.view_cnt }}</td>
|
||||||
<td>
|
<td>
|
||||||
<a class="op vh rm-link cspt" href="#" data-url="{% url 'sys_publink_remove' %}" data-token="{{ link.token }}">{% trans "Remove"%}</a>
|
<a class="op vh rm-link" href="#" data-url="{% url 'sys_publink_remove' %}" data-token="{{ link.token }}">{% trans "Remove"%}</a>
|
||||||
</td>
|
</td>
|
||||||
{% else %}
|
{% else %}
|
||||||
<td class="alc"><img src="{{ MEDIA_URL }}img/folder-icon-24.png" alt="{% trans "Directory icon"%}" /></td>
|
<td class="alc"><img src="{{ MEDIA_URL }}img/folder-icon-24.png" alt="{% trans "Directory icon"%}" /></td>
|
||||||
@ -180,7 +180,7 @@
|
|||||||
<td>{% trans "Upload" %}</td>
|
<td>{% trans "Upload" %}</td>
|
||||||
<td>{{ link.view_cnt }}</td>
|
<td>{{ link.view_cnt }}</td>
|
||||||
<td>
|
<td>
|
||||||
<a class="op vh rm-link cspt" href="#" data-url="{% url 'sys_upload_link_remove' %}" data-token="{{ link.token }}">{% trans "Remove"%}</a>
|
<a class="op vh rm-link" href="#" data-url="{% url 'sys_upload_link_remove' %}" data-token="{{ link.token }}">{% trans "Remove"%}</a>
|
||||||
</td>
|
</td>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</tr>
|
</tr>
|
||||||
@ -213,6 +213,7 @@ $('.rm-link').click(function() {
|
|||||||
},
|
},
|
||||||
error: ajaxErrorHandler
|
error: ajaxErrorHandler
|
||||||
});
|
});
|
||||||
|
return false;
|
||||||
});
|
});
|
||||||
|
|
||||||
$('#set-quota').click(function() {
|
$('#set-quota').click(function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user