diff options
author | Étienne Loks <etienne.loks@proxience.com> | 2015-06-01 23:56:40 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@proxience.com> | 2015-06-01 23:56:40 +0200 |
commit | 15fce379b2ac7ece971e6601bed958b0d9a96496 (patch) | |
tree | 6f77004ed17ebf4f4f9b9734d82068b0ad4cfeb7 /ishtar_common/models.py | |
parent | ffe1e9dc515daa74aa25f9941c3ac87e2724165e (diff) | |
download | Ishtar-15fce379b2ac7ece971e6601bed958b0d9a96496.tar.bz2 Ishtar-15fce379b2ac7ece971e6601bed958b0d9a96496.zip |
Add import actions (re-import and unarchive)
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r-- | ishtar_common/models.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py index d8321e04d..02e1148ef 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -1379,7 +1379,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 |