diff --git a/organizations/templates/organizations/personal.html b/organizations/templates/organizations/personal.html index 2f2bbd51b6..fa959c94f9 100644 --- a/organizations/templates/organizations/personal.html +++ b/organizations/templates/organizations/personal.html @@ -9,21 +9,8 @@ {% endblock %} {% block left_panel %} -
暂无
-{% endif %} + +{% include "snippets/my_groups.html" %} {% endblock %} {% block right_panel %} @@ -37,36 +24,10 @@ {% endautoescape %} {% endif %} -名字 | -描述 | -更新时间 | -操作 | -|
---|---|---|---|---|
{{ repo.props.name }} | -{{ repo.props.desc }} | - {% if repo.latest_modify %} -{{ repo.latest_modify|translate_commit_time }} | - {% else %} --- | - {% endif %} -
- ![]() ![]() ![]() |
-
{{ quota_usage|filesizeformat }} {% if cloud_mode %}/ 2 GB {% endif %}
-暂无
-{% endif %} + +{% include "snippets/my_groups.html" %} {% endblock %} {% block right_panel %} @@ -67,36 +54,10 @@ {% endautoescape %} {% endif %} -名字 | -描述 | -更新时间 | -操作 | -|
---|---|---|---|---|
{{ repo.props.name }} | -{{ repo.props.desc }} | - {% if repo.latest_modify %} -{{ repo.latest_modify|translate_commit_time }} | - {% else %} --- - {% endif %} - |
- ![]() ![]() ![]() |
-
暂无
+{% endif %} diff --git a/templates/snippets/my_owned_repos.html b/templates/snippets/my_owned_repos.html new file mode 100644 index 0000000000..fc8e12f55b --- /dev/null +++ b/templates/snippets/my_owned_repos.html @@ -0,0 +1,29 @@ +{% load seahub_tags %} +名字 | +描述 | +更新时间 | +操作 | +|
---|---|---|---|---|
{{ repo.props.name }} | +{{ repo.props.desc }} | + {% if repo.latest_modify %} +{{ repo.latest_modify|translate_commit_time }} | + {% else %} +-- | + {% endif %} +
+ ![]() ![]() ![]() |
+