Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#1631] Add simple updated group activities
Just: USER updated the group GROUP DESCRIPTION DATE These could be improved, e.g. specific messages for renamed group, changed description of group, added dataset to group, etc.
- Loading branch information
Sean Hammond
committed
Jan 13, 2012
1 parent
2e0b88f
commit 9d4b9c7
Showing
4 changed files
with
88 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<html | ||
xmlns="http://www.w3.org/1999/xhtml" | ||
xmlns:i18n="http://genshi.edgewall.org/i18n" | ||
xmlns:py="http://genshi.edgewall.org/" | ||
xmlns:xi="http://www.w3.org/2001/XInclude" | ||
py:strip="" | ||
> | ||
<xi:include href="../_util.html" /> | ||
<div> | ||
<div style="font-weight:bold;"> | ||
${h.linked_user(activity.user_id)} | ||
<span style="background:yellow;">updated</span> | ||
the group | ||
<a href="${h.url_for(controller='group', action='read', id=activity.data.group.name)}"> | ||
${activity.data.group.display_name} | ||
</a> | ||
<div style="color:#999;"> | ||
${h.truncate(activity.data.group.description, length=80, whole_word=True)} | ||
</div> | ||
${h.render_datetime(activity.timestamp, '%B %d %Y')} | ||
</div> | ||
</div> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters