Open apyrgio opened 10 years ago
@AthinaB : There is an issue with the above. Right now, we send an email per user. Therefore, I cannot know which VMs the admin has selected in order to show their names. How should we handle this?
We can solve this problem with the following way:
After selecting a number of items, allow the user to choose between two modes: a) Send one email per owner of the items. This is the current behavior b) Send one email per item, possibly many per owner.
If the user selects (b), then he/she should be able to add in the mail body the details for the item. Instead of using custom tags like {{ vm_os }}, there should be a way to get any of the database items. This reduces the above problem to a problem of visualizing the database tables and the relations between them.
The problem of visualization may be easily fixed by django-extensions. If we decide to go that route however, we will probably need to add and a template language for the email, a preview option, documentation etc.
Since the above are far from trivial, this functionality should be included in 0.17
.
Allow the following when emailing VMs: