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

Remove leftover get_state calls

parent 79f1f5ed
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
<td> <td>
{% if stat.state.name %} {% if stat.state.name %}
{% if stat.state.name != "None" %} {% 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" }} <td><span style="display: none;">{{ stat.state.updated|date:"c" }}</span><em><small>{{ stat.state.updated|date:"DATE_FORMAT" }}
{% else %} {% else %}
{% if stat.state.last_comment %} {% if stat.state.last_comment %}
......
...@@ -58,7 +58,7 @@ $(document).ready(function() ...@@ -58,7 +58,7 @@ $(document).ready(function()
<tr> <tr>
<td><span style="display: none;">{{ state.updated|date:"c" }}</span>{{ state.updated|naturalday:"DATE_FORMAT" }}</td> <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><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> </tr>
{% endfor %} {% endfor %}
</tbody> </tbody>
......
...@@ -469,7 +469,7 @@ class ActionAbstract(object): ...@@ -469,7 +469,7 @@ class ActionAbstract(object):
@property @property
def state(self): def state(self):
return self._action_db.state_db.get_state() return self._action_db.state_db
def get_previous_action_with_po(self): 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