Add explanatory text indicating puffy username on OpenBSD VMs

This commit is contained in:
PCoder 2019-09-15 09:12:36 +05:30
commit e4e074ea8d
3 changed files with 19 additions and 5 deletions

View file

@ -33,6 +33,11 @@
<p style="line-height: 1.75; font-family: Lato, Arial, sans-serif; font-weight: 300; margin: 0;">
{% blocktrans %}You can view your VM detail by clicking the button below.{% endblocktrans %}
</p>
{% if 'OpenBSD' in vm_name %}
<p style="line-height: 1.75; font-family: Lato, Arial, sans-serif; font-weight: 300; margin: 0;">
{% blocktrans %}You can log in to your VM by the username <strong>puffy</strong>.{% endblocktrans %}
</p>
{% endif %}
</td>
</tr>
<tr>

View file

@ -5,6 +5,9 @@
{% blocktrans %}You have ordered a new virtual machine!{% endblocktrans %}
{% blocktrans %}Your order of {{vm_name}} has been charged.{% endblocktrans %}
{% blocktrans %}You can view your VM detail by following the link below.{% endblocktrans %}
{% if 'OpenBSD' in vm_name %}
{% blocktrans %}You can log in to your VM by the username puffy.{% endblocktrans %}
{% endif %}
{{ base_url }}{{ order_url }}