Ooooooooo pretty.

This commit is contained in:
Chris Jones 2013-07-18 17:33:19 -07:00
parent af11cb012e
commit e7f8170237
2 changed files with 3 additions and 3 deletions

View file

@ -76,9 +76,9 @@ class LogEntry(models.Model):
@property
def action_type(self):
if self.is_addition:
if self.is_addition():
return _('added')
if self.is_change:
if self.is_change():
return _('changed')
if self.is_deletion():
return _('deleted')

View file

@ -46,7 +46,7 @@
<tr>
<td>{{ log.action_time }}</td>
<td>{{ log.user }}</td>
<td>{{ log.action_flag }}</td>
<td>{{ log.action_type|capfirst }}</td>
<td>{{ log.change_message }}</td>
</tr>
{% endfor %}