mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-02 07:47:32 +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.view_cnt }}</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>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
@ -50,6 +50,7 @@ $('.rm-link').click(function() {
|
||||
},
|
||||
error: ajaxErrorHandler
|
||||
});
|
||||
return false;
|
||||
});
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
@ -20,7 +20,7 @@
|
||||
<td>{{ r.file_path }}</td>
|
||||
<td>
|
||||
{% 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 %}
|
||||
<span style="color: green;">{% trans "Handled" %}</span>
|
||||
{% endif %}
|
||||
@ -50,6 +50,7 @@ $('.rm-record').click(function() {
|
||||
},
|
||||
error: ajaxErrorHandler
|
||||
});
|
||||
return false;
|
||||
});
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
@ -171,7 +171,7 @@
|
||||
<td>{% trans "Download" %}</td>
|
||||
<td>{{ link.view_cnt }}</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>
|
||||
{% else %}
|
||||
<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>{{ link.view_cnt }}</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>
|
||||
{% endif %}
|
||||
</tr>
|
||||
@ -213,6 +213,7 @@ $('.rm-link').click(function() {
|
||||
},
|
||||
error: ajaxErrorHandler
|
||||
});
|
||||
return false;
|
||||
});
|
||||
|
||||
$('#set-quota').click(function() {
|
||||
|
Loading…
Reference in New Issue
Block a user