Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gelencsér Szabolcs
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
4ff9fca8
authored
Mar 07, 2013
by
Őry Máté
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
one: update mail templates
parent
fbc133e0
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
19 additions
and
6 deletions
+19
-6
one/templates/mails/notification-ban-now.txt
+15
-2
one/templates/mails/notification-delete-now.txt
+1
-1
one/templates/mails/notification-delete.txt
+1
-1
one/templates/mails/notification-suspend-now.txt
+1
-1
one/templates/mails/notification-suspend.txt
+1
-1
No files found.
one/templates/mails/notification-ban-now.txt
View file @
4ff9fca8
...
...
@@ -3,8 +3,21 @@
{% block body %}
{% blocktrans with reason=bl.reason snort_message=bl.snort_message %}
{{reason}} {{snort_message}}
{% blocktrans with reason=bl.reason snort_message=bl.snort_message vm=instance.name %}
Our network intrusion detection system showed that your machine
"{{vm}}" pursues the following forbidden network activity: {{reason}}.
"{{vm}}" has been BANNED from all network activity
including remote desktop and shell connection.
Details:
{{snort_message}}
{% endblocktrans %}
{% blocktrans with url=url %}
Please, reply to this notification, or delete the instance on the
cloud portal: {{url}}
{% endblocktrans %}
{% endblock %}
one/templates/mails/notification-delete-now.txt
View file @
4ff9fca8
...
...
@@ -3,7 +3,7 @@
{% block body %}
{% blocktrans with vm=instance.name state=instance.state date=instance.time_of_delete %}
{% blocktrans with vm=instance.name state=instance.state
|lower
date=instance.time_of_delete %}
Your {{state}} virtual machine "{{vm}}" has been DELETED
at {{date}}.
{% endblocktrans %}
...
...
one/templates/mails/notification-delete.txt
View file @
4ff9fca8
...
...
@@ -3,7 +3,7 @@
{% block body %}
{% blocktrans with vm=instance.name state=instance.state date=instance.time_of_delete time=exp|timeuntil %}
{% blocktrans with vm=instance.name state=instance.state
|lower
date=instance.time_of_delete time=exp|timeuntil %}
Your {{state}} virtual machine "{{vm}}" is going to be DELETED
at {{date}} (in {{time}}).
{% endblocktrans %}
...
...
one/templates/mails/notification-suspend-now.txt
View file @
4ff9fca8
...
...
@@ -3,7 +3,7 @@
{% block body %}
{% blocktrans with vm=instance.name state=instance.state date=instance.time_of_suspend %}
{% blocktrans with vm=instance.name state=instance.state
|lower
date=instance.time_of_suspend %}
Your {{state}} virtual machine "{{vm}}" has been STOPPED
at {{date}}.
{% endblocktrans %}
...
...
one/templates/mails/notification-suspend.txt
View file @
4ff9fca8
...
...
@@ -3,7 +3,7 @@
{% block body %}
{% blocktrans with vm=instance.name state=instance.state date=instance.time_of_suspend time=exp|timeuntil url=url %}
{% blocktrans with vm=instance.name state=instance.state
|lower
date=instance.time_of_suspend time=exp|timeuntil url=url %}
Your {{state}} virtual machine "{{vm}}" is going to be STOPPED
at {{date}} (in {{time}}).
{% endblocktrans %}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment