From 782d583e3463d54e5ace0998d067d131763a7d27 Mon Sep 17 00:00:00 2001 From: zhengxie Date: Thu, 11 Oct 2012 14:35:42 +0800 Subject: [PATCH] Added missing templates --- .../templates/organizations/org_pubinfo.html | 54 +++++++++++++++++++ templates/pubinfo.html | 54 +++++++++++++++++++ 2 files changed, 108 insertions(+) create mode 100644 organizations/templates/organizations/org_pubinfo.html create mode 100644 templates/pubinfo.html diff --git a/organizations/templates/organizations/org_pubinfo.html b/organizations/templates/organizations/org_pubinfo.html new file mode 100644 index 0000000000..944c83da65 --- /dev/null +++ b/organizations/templates/organizations/org_pubinfo.html @@ -0,0 +1,54 @@ +{% extends "org_base.html" %} +{% load seahub_tags avatar_tags group_avatar_tags %} +{% load url from future %} + +{% block nav_pubinfo_class %}class="cur"{% endblock %} + +{% block left_panel %} +

成员列表

+{% if org_members %} + +{% else %} +

暂无

+{% endif %} +{% endblock %} + +{% block right_panel %} +{% if groups %} +

所有群组

+ +{% else %} +

现在还没有人创建群组,可以通过“群组”标签下的“创建群组”按钮创建。

+{% endif %} + +{% include "snippets/user_profile_html.html" %} +{% endblock %} + +{% block extra_script %} +{% include "snippets/user_profile_js.html" %} + +{% endblock %} diff --git a/templates/pubinfo.html b/templates/pubinfo.html new file mode 100644 index 0000000000..ad9ea0fbda --- /dev/null +++ b/templates/pubinfo.html @@ -0,0 +1,54 @@ +{% extends "myhome_base.html" %} +{% load seahub_tags avatar_tags group_avatar_tags %} +{% load url from future %} + +{% block nav_pubinfo_class %}class="cur"{% endblock %} + +{% block left_panel %} +

成员列表

+{% if users %} + +{% else %} +

暂无

+{% endif %} +{% endblock %} + +{% block right_panel %} +{% if groups %} +

所有群组

+ +{% else %} +

现在还没有人创建群组,可以通过“群组”标签下的“创建群组”按钮创建。

+{% endif %} + +{% include "snippets/user_profile_html.html" %} +{% endblock %} + +{% block extra_script %} +{% include "snippets/user_profile_js.html" %} + +{% endblock %}