diff options
| -rw-r--r-- | ishtar_common/wizards.py | 5 | 
1 files changed, 4 insertions, 1 deletions
diff --git a/ishtar_common/wizards.py b/ishtar_common/wizards.py index 16be0bae5..e5b8b55ba 100644 --- a/ishtar_common/wizards.py +++ b/ishtar_common/wizards.py @@ -1033,7 +1033,10 @@ class Wizard(IshtarWizard):          self.post_save()          msg = '<i class="fa fa-info" aria-hidden="true"></i>  ' -        msg += str(_("{} created/modified.")).format(obj) +        if getattr(self, "modification", False): +            msg += str(_("{} modified.")).format(obj) +        else: +            msg += str(_("{} created.")).format(obj)          messages.add_message(self.request, messages.INFO, msg)          if self.redirect_url:              url = reverse(self.redirect_url)  | 
