Commit 59c2c6bf authored by Claude Paroz's avatar Claude Paroz

Remove leftover get_state calls

parent 79f1f5ed
......@@ -72,7 +72,7 @@
<td>
{% if stat.state.name %}
{% if stat.state.name != "None" %}
<em><small>{{ stat.state.get_state }}</small></em></td>
<em><small>{{ stat.state.description }}</small></em></td>
<td><span style="display: none;">{{ stat.state.updated|date:"c" }}</span><em><small>{{ stat.state.updated|date:"DATE_FORMAT" }}
{% else %}
{% if stat.state.last_comment %}
......
......@@ -58,7 +58,7 @@ $(document).ready(function()
<tr>
<td><span style="display: none;">{{ state.updated|date:"c" }}</span>{{ state.updated|naturalday:"DATE_FORMAT" }}</td>
<td><a href="{{ state.get_absolute_url }}">{{ state.branch.module.get_description }} - {{ state.branch.name }} - {{ state.domain.get_description }} - {{ state.language.get_name }}</a></td>
<td>{{ state.get_state }}</td>
<td>{{ state.description }}</td>
</tr>
{% endfor %}
</tbody>
......
......@@ -469,7 +469,7 @@ class ActionAbstract(object):
@property
def state(self):
return self._action_db.state_db.get_state()
return self._action_db.state_db
def get_previous_action_with_po(self):
"""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment