diff --git a/templates/repo.html b/templates/repo.html
index d350ca6390..b588a2d675 100644
--- a/templates/repo.html
+++ b/templates/repo.html
@@ -249,11 +249,6 @@
{% endwith %}
{% endif %}
-
-
您还没有将同步目录 {{repo.name}} 同步到本地
-
点此同步
-
-
{% endblock %}
{% block extra_script %}
diff --git a/templates/repo_view_file.html b/templates/repo_view_file.html
index e179e326f3..a135583c8a 100644
--- a/templates/repo_view_file.html
+++ b/templates/repo_view_file.html
@@ -94,6 +94,11 @@
+
+
您还没有将同步目录 {{repo.name}} 同步到本地
+
点此同步
+
+
{% endblock %}
{% block extra_script %}