diff --git a/group/templates/group/group_info.html b/group/templates/group/group_info.html
index 359aff829d..37dcf7403b 100644
--- a/group/templates/group/group_info.html
+++ b/group/templates/group/group_info.html
@@ -42,9 +42,9 @@
名字 |
- 描述 |
+ 描述 |
共享来源 |
- 操作 |
+ 操作 |
{% for repo in repos %}
@@ -53,9 +53,9 @@
{{ repo.props.desc }} |
{{ repo.share_from }} |
- 下载
+
{% if is_staff or repo.share_from_me %}
- 取消共享
+
{% endif %}
|
@@ -68,7 +68,20 @@
{% block extra_script %}
{% endblock %}
diff --git a/templates/repo_history.html b/templates/repo_history.html
index 43923b72bb..fdd2b8c866 100644
--- a/templates/repo_history.html
+++ b/templates/repo_history.html
@@ -12,10 +12,10 @@
{{repo.props.name}} 修改历史
- 修改时间 |
+ 修改时间 |
修改者 |
- 描述 |
- 操作 |
+ 描述 |
+ 操作 |
{% for commit in commits %}