1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-05-09 00:18:51 +00:00

modified css for wiki-index-con, show 8 grps in top-grp-popup, modified grp name shown length

This commit is contained in:
llj 2014-02-28 20:27:27 +08:00
parent c88087f334
commit fbda6112da
3 changed files with 5 additions and 2 deletions
media/css
seahub
base
group/templates/group

View File

@ -2742,6 +2742,9 @@ textarea:-moz-placeholder {/* for FF */
.wiki-index {
margin-top:25px;
}
#wiki-index-con {
padding-left:12px;
}
.wiki-index ul {
list-style-type: square;
padding-left: 1.5em;

View File

@ -46,7 +46,7 @@ def base(request):
mods_enabled = get_enabled_mods_by_user(username)
# get groups
grps = get_personal_groups_by_user(username)[:4]
grps = get_personal_groups_by_user(username)[:8]
return {
'seafile_version': SEAFILE_VERSION,

View File

@ -10,7 +10,7 @@
<div class="side-tabnav">
<div class="hd w100 ovhd">
<h3 class="fleft">
{% grp_avatar group.props.id 32 %} <span title="{{ group.group_name }}" class="vam">{{ group.group_name|truncatechars:11 }}</span>
{% grp_avatar group.props.id 32 %} <span title="{{ group.group_name }}" class="vam">{{ group.group_name|truncatechars:14 }}</span>
</h3>
{% if is_staff %}
<img id="enable-mods" class="fright" title="{% trans "Enable Modules" %}" src="{{MEDIA_URL}}img/setting.png" alt="" style="margin:8px 0 0 5px;" />