1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-25 06:33:48 +00:00

Modify myhome and personal page

This commit is contained in:
xiez
2012-09-05 11:03:15 +08:00
parent a7ec760511
commit b7fd7fdf58
5 changed files with 56 additions and 88 deletions

View File

@@ -0,0 +1,16 @@
{% load group_avatar_tags %}
<h3>我的小组</h3>
{% if groups %}
<ul>
{% for group in groups %}
<li class="mygroup">
<a href="{{ SITE_ROOT }}group/{{ group.props.id }}/" class="no-deco">
<img src="{% grp_avatar_url group.props.id 48 %}" alt="{{ group.props.group_name }}的图标" title="{{ group.props.group_name }}" class="avatar" />
</a><br />
<a href="{{ SITE_ROOT }}group/{{ group.props.id }}/">{{ group.props.group_name }}</a>
</li>
{% endfor %}
</ul>
{% else %}
<p>暂无</p>
{% endif %}