summaryrefslogtreecommitdiff
path: root/ishtar_common/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@proxience.com>2015-06-02 00:00:34 +0200
committerÉtienne Loks <etienne.loks@proxience.com>2015-06-02 00:00:34 +0200
commitd9c7ba2c4bdd009ff1585dbd1f584f98db6e4c0b (patch)
tree4ab51f098a8bf0866b046af761f1c483bba345ad /ishtar_common/models.py
parent0561272f727e1b3cedf582e0c582ed72ea201f98 (diff)
parent15fce379b2ac7ece971e6601bed958b0d9a96496 (diff)
downloadIshtar-d9c7ba2c4bdd009ff1585dbd1f584f98db6e4c0b.tar.bz2
Ishtar-d9c7ba2c4bdd009ff1585dbd1f584f98db6e4c0b.zip
Merge branch 'stable'
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r--ishtar_common/models.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py
index 984e9048b..d2c052311 100644
--- a/ishtar_common/models.py
+++ b/ishtar_common/models.py
@@ -1392,7 +1392,10 @@ class Import(models.Model):
actions.append(('A', _(u"Re-analyse")))
actions.append(('I', _(u"Launch import")))
if self.state in ('F', 'FE'):
+ actions.append(('I', _(u"Re-import")))
actions.append(('AC', _(u"Archive")))
+ if self.state in ('AC'):
+ actions.append(('A', _(u"Unarchive")))
actions.append(('D', _(u"Delete")))
return actions