diff --git a/templates/update_file_error.html b/templates/update_file_error.html
index c13bbf86cd..eb7d0f420f 100644
--- a/templates/update_file_error.html
+++ b/templates/update_file_error.html
@@ -5,7 +5,11 @@
更新文件
{% for name, link in zipped %}
- {{ name }} /
+ {% if not forloop.last %}
+ {{ name }} /
+ {% else %}
+ {{ name }}
+ {% endif %}
{% endfor %}
失败:
diff --git a/views.py b/views.py
index d29e4d78c9..ec5577e97d 100644
--- a/views.py
+++ b/views.py
@@ -535,7 +535,7 @@ def update_file_error(request, repo_id):
code = int(err)
err_msg = upload_error_msg(code)
- return render_to_response('upload_file_error.html', {
+ return render_to_response('update_file_error.html', {
'repo': repo,
'zipped': zipped,
'err_msg': err_msg,