diff --git a/media/css/seahub.css b/media/css/seahub.css index 145ba7865f..685a30ca48 100644 --- a/media/css/seahub.css +++ b/media/css/seahub.css @@ -1639,6 +1639,7 @@ textarea:-moz-placeholder {/* for FF */ #repo-create-form .checkbox-label { /* for "Encrypt" */ margin:10px 0 0; } +.activity-group-hd, .event-group-hd { padding: 8px; color: #444; @@ -1646,6 +1647,7 @@ textarea:-moz-placeholder {/* for FF */ border-bottom: 1px solid #e5e5e5; margin:0; } +.activity-group-bd, .event-group-bd { list-style-type: none; font-size:15px; @@ -1676,11 +1678,13 @@ textarea:-moz-placeholder {/* for FF */ } #events-loading, #notices-loading, +#activities-more, #events-more, #notices-more-btn { text-align:center; width:100%; } +#activities-more, #events-more, #notices-more-btn { color:#777; @@ -1688,6 +1692,7 @@ textarea:-moz-placeholder {/* for FF */ border:0; background: #efefef; } +#activities-more:hover, #events-more:hover, #notices-more-btn:hover { color:#000; diff --git a/seahub/api2/views.py b/seahub/api2/views.py index 07ac406aa1..cabe58a190 100644 --- a/seahub/api2/views.py +++ b/seahub/api2/views.py @@ -3197,6 +3197,7 @@ class EventsView(APIView): d['time'] = time_diff.seconds + (time_diff.days * 24 * 3600) d['nick'] = email2nickname(d['author']) + d['name'] = email2nickname(d['author']) d['avatar'] = avatar(d['author'], 36) d['time_relative'] = translate_seahub_time(utc_to_local(e.timestamp)) d['date'] = utc_to_local(e.timestamp).strftime("%Y-%m-%d") diff --git a/seahub/templates/home_base.html b/seahub/templates/home_base.html index be887d0a3f..850094151e 100644 --- a/seahub/templates/home_base.html +++ b/seahub/templates/home_base.html @@ -14,7 +14,7 @@
  • {% trans "Libraries" %}
  • {% trans "Starred" %}
  • {% if events_enabled %} -
  • {% trans "Activities" %}
  • +
  • {% trans "Activities" %}
  • {% endif %} {% for mod in request.user.mods_enabled %} {% if mod == 'personal wiki' %} diff --git a/seahub/templates/js/templates.html b/seahub/templates/js/templates.html index b22ef5ae3a..136a365bdc 100644 --- a/seahub/templates/js/templates.html +++ b/seahub/templates/js/templates.html @@ -813,10 +813,10 @@ - -