summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandre Leray <alexandre@alexandreleray.com>2010-11-04 10:40:21 (GMT)
committer Alexandre Leray <alexandre@alexandreleray.com>2010-11-04 10:40:21 (GMT)
commit8d5e7e9e34d5d533c384cb8622b77ec10c667fb2 (patch)
treebe4e187d9f1173b02bfcaa356edf5913a6000641
parentc336da58018cc914dcca2cc4a81354c0e6d86125 (diff)
change wording of user actions
-rwxr-xr-xbrainch/models/actions.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/brainch/models/actions.py b/brainch/models/actions.py
index 2108484..41633bc 100755
--- a/brainch/models/actions.py
+++ b/brainch/models/actions.py
@@ -59,29 +59,29 @@ class UserAction(models.Model):
% (profile.get_absolute_url(), self.who.username)
if self.get_what_display() == "CREATED":
message += "<span class=\"created\">created</span> "
- message += "the text <em>%s</em>" \
+ message += "\"%s\"" \
% data.get("repo_name", "???")
elif self.get_what_display() == "EDITED":
message += "<span class=\"edited\">&#2710; edited</span> "
- message += "the text <em>%s</em>" \
+ message += "\"%s\"" \
% data.get("repo_name", "???")
elif self.get_what_display() == "CLONED":
message += "<span class=\"cloned\">&#9903; cloned</span> "
- message += "the text <em>%s</em> " \
+ message += "\"%s\"" \
% data.get("repo_name", "???")
message += "from %s" \
% data.get("origin_user", "???")
elif self.get_what_display() == "PULLED":
message += "<span class=\"pulled\">&#9903; synchronized</span> "
- message += "his/her text <em>%s</em> " \
- % data.get("repo_name", "???")
- message += "with %s's" \
+ message += "%s's" \
% data.get("origin_user", "???")
+ message += "\"%s\"" \
+ % data.get("repo_name", "???")
elif self.get_what_display() == "INVITED":
message += "<span class=\"invited\">invited</span> "
message += "%s " \
% data.get("repo_mates", "???")
- message += "to synchronize his/her version of the text <em>%s</em> " \
+ message += "to synchronize his/her version of \"%s\"" \
% data.get("repo_name", "???")
else:
return None