Improved markup of notification templates.

This commit is contained in:
Martin Edenhofer 2016-05-13 15:53:16 +02:00
parent dd5d4ca48b
commit 1c7dee3e28
23 changed files with 146 additions and 148 deletions

View file

@ -1,9 +1,9 @@
Dein <%= c 'product_name' %> Passwort wurde geändert Dein <%= c 'product_name' %> Passwort wurde geändert
<p>Hallo <%= d 'user.firstname' %>,</p> <div>Hallo <%= d 'user.firstname' %>,</div>
<br> <br>
<p>das Passwort für Dein <%= c 'product_name' %> Account <b><%= d 'user.login' %></b> wurde kürzlich geändert.</p> <div>das Passwort für Dein <%= c 'product_name' %> Account <b><%= d 'user.login' %></b> wurde kürzlich geändert.</div>
<br> <br>
<p>Diese Aktivität ist Dir nicht bekannt? In diesen Fall kontaktiere Deinen System-Administrator.</p> <div>Diese Aktivität ist Dir nicht bekannt? In diesen Fall kontaktiere Deinen System-Administrator.</div>
<br> <br>
<p>Dein <%= c 'product_name' %> Team</p> <div>Dein <%= c 'product_name' %> Team</div>

View file

@ -1,17 +1,15 @@
Zurücksetzen Deines <%= c 'product_name' %> Passworts Zurücksetzen Deines <%= c 'product_name' %> Passworts
<p> <div>Hallo <%= d 'user.firstname' %>,</div>
Hallo <%= d 'user.firstname' %>,
</p>
<br> <br>
<p>wir haben eine Anfrage zum Zurücksetzen des Passworts für <%= c 'product_name' %> Account <b><%= d 'user.login' %></b> erhalten.</p> <div>wir haben eine Anfrage zum Zurücksetzen des Passworts für <%= c 'product_name' %> Account <b><%= d 'user.login' %></b> erhalten.</div>
<br> <br>
<p>Wenn Sie Ihr Passwort zurückzusetzen wollen, klicken Sie auf den unten stehenden Link (oder kopieren Sie die URL in den Browser einfügen):</p> <div>Wenn Sie Ihr Passwort zurückzusetzen wollen, klicken Sie auf den unten stehenden Link (oder kopieren Sie die URL in den Browser einfügen):</div>
<br> <br>
<p><a href="<%= c 'http_type' %>://<%= c 'fqdn' %>/#password_reset_verify/<%= d 'token.name' %>"><%= c 'http_type' %>://<%= c 'fqdn' %>/#password_reset_verify/<%= d 'token.name' %></a></p> <div><a href="<%= c 'http_type' %>://<%= c 'fqdn' %>/#password_reset_verify/<%= d 'token.name' %>"><%= c 'http_type' %>://<%= c 'fqdn' %>/#password_reset_verify/<%= d 'token.name' %></a></div>
<br> <br>
<p>Dieser Link führt Sie zu einer Seite, auf der Sie Ihr Passwort ändern können.</p> <div>Dieser Link führt Sie zu einer Seite, auf der Sie Ihr Passwort ändern können.</div>
<br> <br>
<p>Wenn Sie Ihr Passwort nicht zurücksetzen wollen, ignorieren Sie diese Meldung. Das Passwort bleibt unverändert.</p> <div>Wenn Sie Ihr Passwort nicht zurücksetzen wollen, ignorieren Sie diese Meldung. Das Passwort bleibt unverändert.</div>
<br> <br>
<p>Dein <%= c 'product_name' %> Team</p> <div>Dein <%= c 'product_name' %> Team</div>

View file

@ -1,15 +1,15 @@
Reset your <%= c 'product_name' %> password Reset your <%= c 'product_name' %> password
<p>Hi <%= d 'user.firstname' %>,</p> <div>Hi <%= d 'user.firstname' %>,</div>
<br> <br>
<p>We received a request to reset the password for your <%= c 'product_name' %> account <b><%= d 'user.login' %></b>.</p> <div>We received a request to reset the password for your <%= c 'product_name' %> account <b><%= d 'user.login' %></b>.</div>
<br> <br>
<p>If you want to reset your password, click on the link below (or copy and paste the URL into your browser):</p> <div>If you want to reset your password, click on the link below (or copy and paste the URL into your browser):</div>
<br> <br>
<p><a href="<%= c 'http_type' %>://<%= c 'fqdn' %>/#password_reset_verify/<%= d 'token.name' %>"><%= c 'http_type' %>://<%= c 'fqdn' %>/#password_reset_verify/<%= d 'token.name' %></a></p> <div><a href="<%= c 'http_type' %>://<%= c 'fqdn' %>/#password_reset_verify/<%= d 'token.name' %>"><%= c 'http_type' %>://<%= c 'fqdn' %>/#password_reset_verify/<%= d 'token.name' %></a></div>
<br> <br>
<p>This link takes you to a page where you can change your password.</p> <div>This link takes you to a page where you can change your password.</div>
<br> <br>
<p>If you don't want to reset your password, please ignore this message. Your password will not be reseted.</p> <div>If you don't want to reset your password, please ignore this message. Your password will not be reseted.</div>
<br> <br>
<p>Your <%= c 'product_name' %> Team</p> <div>Your <%= c 'product_name' %> Team</div>

View file

@ -1,9 +1,9 @@
Bestätigung des <%= c 'product_name' %> Accounts, <%= d 'user.firstname' %> <%= d 'user.lastname' %> Bestätigung des <%= c 'product_name' %> Accounts, <%= d 'user.firstname' %> <%= d 'user.lastname' %>
<p>Hallo <%= d 'user.firstname' %>,</p> <div>Hallo <%= d 'user.firstname' %>,</div>
<br> <br>
<p>bestätige Deine E-Mail-Adresse um Deine Registrierung bei <%= c 'product_name' %> abzuschließen. Es ist einfach - klick einfach auf den Link unten.</p> <div>bestätige Deine E-Mail-Adresse um Deine Registrierung bei <%= c 'product_name' %> abzuschließen. Es ist einfach - klick einfach auf den Link unten.</div>
<br> <br>
<p><a href="<%= c 'http_type' %>://<%= c 'fqdn' %>/#email_verify/<%= d 'token.name' %>"><%= c 'http_type' %>://<%= c 'fqdn' %>/#email_verify/<%= d 'token.name' %></a></p> <div><a href="<%= c 'http_type' %>://<%= c 'fqdn' %>/#email_verify/<%= d 'token.name' %>"><%= c 'http_type' %>://<%= c 'fqdn' %>/#email_verify/<%= d 'token.name' %></a></div>
<br> <br>
<p>Dein <%= c 'product_name' %> Team</p> <div>Dein <%= c 'product_name' %> Team</div>

View file

@ -1,9 +1,9 @@
Confirm your <%= c 'product_name' %> account, <%= d 'user.firstname' %> <%= d 'user.lastname' %> Confirm your <%= c 'product_name' %> account, <%= d 'user.firstname' %> <%= d 'user.lastname' %>
<p>Hi <%= d 'user.firstname' %>,</p> <div>Hi <%= d 'user.firstname' %>,</div>
<br> <br>
<p>Confirm your email address to complete your <%= c 'product_name' %> account. It's easy, just click the link below.</p> <div>Confirm your email address to complete your <%= c 'product_name' %> account. It's easy, just click the link below.</div>
<br> <br>
<p><a href="<%= c 'http_type' %>://<%= c 'fqdn' %>/#email_verify/<%= d 'token.name' %>"><%= c 'http_type' %>://<%= c 'fqdn' %>/#email_verify/<%= d 'token.name' %></a></p> <div><a href="<%= c 'http_type' %>://<%= c 'fqdn' %>/#email_verify/<%= d 'token.name' %>"><%= c 'http_type' %>://<%= c 'fqdn' %>/#email_verify/<%= d 'token.name' %></a></div>
<br> <br>
<p>Your <%= c 'product_name' %> Team</p> <div>Your <%= c 'product_name' %> Team</div>

View file

@ -1,9 +1,9 @@
Test Ticket! Test Ticket!
<p>Hallo <%= d 'agent.firstname' %>,</p> <div>Hallo <%= d 'agent.firstname' %>,</div>
<br> <br>
<p>dies ist ein <b>Test Ticket</b>. Ich bin ein Kunde und benötige Hilfe! :)</p> <div>dies ist ein <b>Test Ticket</b>. Ich bin ein Kunde und benötige Hilfe! :)</div>
<br> <br>
<p><%= d 'customer.fullname' %></p> <div><%= d 'customer.fullname' %></div>
<br> <br>
<p>Das Zammad Projekt</p> <div>Das Zammad Projekt</div>

View file

@ -1,9 +1,9 @@
Test Ticket! Test Ticket!
<p>Dear <%= d 'agent.firstname' %>,</p> <div>Dear <%= d 'agent.firstname' %>,</div>
<br> <br>
<p>This is a <b>test ticket</b>. I'm a customer and I need some help! :)</p> <div>This is a <b>test ticket</b>. I'm a customer and I need some help! :)</div>
<br> <br>
<p><%= d 'customer.fullname' %></p> <div><%= d 'customer.fullname' %></div>
<br> <br>
<p>The Zammad Project</p> <div>The Zammad Project</div>

View file

@ -1,24 +1,24 @@
Neues Ticket (<%= d 'ticket.title' %>) Neues Ticket (<%= d 'ticket.title' %>)
<p>Hallo <%= d 'recipient.firstname' %>,</p> <div>Hallo <%= d 'recipient.firstname' %>,</div>
<br> <br>
<p>es wurde ein neues Ticket (<%= d 'ticket.title' %>) von "<b><%= d 'current_user.longname' %></b>" erstellt.</p> <div>es wurde ein neues Ticket (<%= d 'ticket.title' %>) von "<b><%= d 'current_user.longname' %></b>" erstellt.</div>
<br> <br>
<p> <div>
<%= t 'Group' %>: <%= d 'ticket.group.name' %><br> <%= t 'Group' %>: <%= d 'ticket.group.name' %><br>
<%= t 'Owner' %>: <%= d 'ticket.owner.fullname' %><br> <%= t 'Owner' %>: <%= d 'ticket.owner.fullname' %><br>
<%= t 'State' %>: <%= t d 'ticket.state.name' %><br> <%= t 'State' %>: <%= t d 'ticket.state.name' %><br>
</p> </div>
<br> <br>
<% if @objects[:article] %> <% if @objects[:article] %>
<p> <div>
<%= t 'Information' %>: <%= t 'Information' %>:
<blockquote type="cite"> <blockquote type="cite">
<%= a_html 'article' %> <%= a_html 'article' %>
</blockquote> </blockquote>
</p> </div>
<% end %> <% end %>
<br> <br>
<p> <div>
<a href="<%= c 'http_type' %>://<%= c 'fqdn' %>/#ticket/zoom/<%= d 'ticket.id' %>" target="zammad_app"><%= t 'View this in Zammad' %></a> <a href="<%= c 'http_type' %>://<%= c 'fqdn' %>/#ticket/zoom/<%= d 'ticket.id' %>" target="zammad_app"><%= t 'View this in Zammad' %></a>
</p> </div>

View file

@ -1,24 +1,24 @@
New Ticket (<%= d 'ticket.title' %>) New Ticket (<%= d 'ticket.title' %>)
<p>Hi <%= d 'recipient.firstname' %>,</p> <div>Hi <%= d 'recipient.firstname' %>,</div>
<br> <br>
<p>A new ticket (<%= d 'ticket.title' %>) has been created by "<b><%= d 'current_user.longname' %></b>".</p> <div>A new ticket (<%= d 'ticket.title' %>) has been created by "<b><%= d 'current_user.longname' %></b>".</div>
<br> <br>
<p> <div>
<%= t 'Group' %>: <%= d 'ticket.group.name' %><br> <%= t 'Group' %>: <%= d 'ticket.group.name' %><br>
<%= t 'Owner' %>: <%= d 'ticket.owner.fullname' %><br> <%= t 'Owner' %>: <%= d 'ticket.owner.fullname' %><br>
<%= t 'State' %>: <%= t d 'ticket.state.name' %><br> <%= t 'State' %>: <%= t d 'ticket.state.name' %><br>
</p> </div>
<br> <br>
<% if @objects[:article] %> <% if @objects[:article] %>
<p> <div>
<%= t 'Information' %>: <%= t 'Information' %>:
<blockquote type="cite"> <blockquote type="cite">
<%= a_html 'article' %> <%= a_html 'article' %>
</blockquote> </blockquote>
</p> </div>
<% end %> <% end %>
<br> <br>
<p> <div>
<a href="<%= c 'http_type' %>://<%= c 'fqdn' %>/#ticket/zoom/<%= d 'ticket.id' %>" target="zammad_app"><%= t 'View this in Zammad' %></a> <a href="<%= c 'http_type' %>://<%= c 'fqdn' %>/#ticket/zoom/<%= d 'ticket.id' %>" target="zammad_app"><%= t 'View this in Zammad' %></a>
</p> </div>

View file

@ -1,18 +1,18 @@
Ticket ist eskaliert (<%= d 'ticket.title' %>) Ticket ist eskaliert (<%= d 'ticket.title' %>)
<p>Hallo <%= d 'recipient.firstname' %>,</p> <div>Hallo <%= d 'recipient.firstname' %>,</div>
<br> <br>
<p>Ticket (<%= d 'ticket.title' %>) von "<b><%= d 'ticket.customer.longname' %></b>" ist seit "<%= d 'ticket.escalation_time' %>" eskaliert!</p> <div>Ticket (<%= d 'ticket.title' %>) von "<b><%= d 'ticket.customer.longname' %></b>" ist seit "<%= d 'ticket.escalation_time' %>" eskaliert!</div>
<br> <br>
<% if @objects[:article] %> <% if @objects[:article] %>
<p> <div>
<%= t 'Information' %>: <%= t 'Information' %>:
<blockquote type="cite"> <blockquote type="cite">
<%= a_html 'article' %> <%= a_html 'article' %>
</blockquote> </blockquote>
</p> </div>
<% end %> <% end %>
<br> <br>
<p> <div>
<a href="<%= c 'http_type' %>://<%= c 'fqdn' %>/#ticket/zoom/<%= d 'ticket.id' %>" target="zammad_app"><%= t 'View this in Zammad' %></a> <a href="<%= c 'http_type' %>://<%= c 'fqdn' %>/#ticket/zoom/<%= d 'ticket.id' %>" target="zammad_app"><%= t 'View this in Zammad' %></a>
</p> </div>

View file

@ -1,18 +1,18 @@
Ticket is escalated (<%= d 'ticket.title' %>) Ticket is escalated (<%= d 'ticket.title' %>)
<p>Hi <%= d 'recipient.firstname' %>,</p> <div>Hi <%= d 'recipient.firstname' %>,</div>
<br> <br>
<p>A ticket (<%= d 'ticket.title' %>) from "<b><%= d 'ticket.customer.longname' %></b>" is escalated since "<%= d 'ticket.escalation_time' %>"!</p> <div>A ticket (<%= d 'ticket.title' %>) from "<b><%= d 'ticket.customer.longname' %></b>" is escalated since "<%= d 'ticket.escalation_time' %>"!</div>
<br> <br>
<% if @objects[:article] %> <% if @objects[:article] %>
<p> <div>
<%= t 'Information' %>: <%= t 'Information' %>:
<blockquote type="cite"> <blockquote type="cite">
<%= a_html 'article' %> <%= a_html 'article' %>
</blockquote> </blockquote>
</p> </div>
<% end %> <% end %>
<br> <br>
<p> <div>
<a href="<%= c 'http_type' %>://<%= c 'fqdn' %>/#ticket/zoom/<%= d 'ticket.id' %>" target="zammad_app"><%= t 'View this in Zammad' %></a> <a href="<%= c 'http_type' %>://<%= c 'fqdn' %>/#ticket/zoom/<%= d 'ticket.id' %>" target="zammad_app"><%= t 'View this in Zammad' %></a>
</p> </div>

View file

@ -1,18 +1,18 @@
Ticket wird eskalieren (<%= d 'ticket.title' %>) Ticket wird eskalieren (<%= d 'ticket.title' %>)
<p>Hallo <%= d 'recipient.firstname' %>,</p> <div>Hallo <%= d 'recipient.firstname' %>,</div>
<br> <br>
<p>Ticket (<%= d 'ticket.title' %>) von "<b><%= d 'ticket.customer.longname' %></b>" wird um "<%= d 'ticket.escalation_time' %>" eskalieren!</p> <div>Ticket (<%= d 'ticket.title' %>) von "<b><%= d 'ticket.customer.longname' %></b>" wird um "<%= d 'ticket.escalation_time' %>" eskalieren!</div>
<br> <br>
<% if @objects[:article] %> <% if @objects[:article] %>
<p> <div>
<%= t 'Information' %>: <%= t 'Information' %>:
<blockquote type="cite"> <blockquote type="cite">
<%= a_html 'article' %> <%= a_html 'article' %>
</blockquote> </blockquote>
</p> </div>
<% end %> <% end %>
<br> <br>
<p> <div>
<a href="<%= c 'http_type' %>://<%= c 'fqdn' %>/#ticket/zoom/<%= d 'ticket.id' %>" target="zammad_app"><%= t 'View this in Zammad' %></a> <a href="<%= c 'http_type' %>://<%= c 'fqdn' %>/#ticket/zoom/<%= d 'ticket.id' %>" target="zammad_app"><%= t 'View this in Zammad' %></a>
</p> </div>

View file

@ -1,18 +1,18 @@
Ticket will escalate (<%= d 'ticket.title' %>) Ticket will escalate (<%= d 'ticket.title' %>)
<p>Hi <%= d 'recipient.firstname' %>,</p> <div>Hi <%= d 'recipient.firstname' %>,</div>
<br> <br>
<p>A ticket (<%= d 'ticket.title' %>) from "<b><%= d 'ticket.customer.longname' %></b>" will escalate at "<%= d 'ticket.escalation_time' %>"!</p> <div>A ticket (<%= d 'ticket.title' %>) from "<b><%= d 'ticket.customer.longname' %></b>" will escalate at "<%= d 'ticket.escalation_time' %>"!</div>
<br> <br>
<% if @objects[:article] %> <% if @objects[:article] %>
<p> <div>
<%= t 'Information' %>: <%= t 'Information' %>:
<blockquote type="cite"> <blockquote type="cite">
<%= a_html 'article' %> <%= a_html 'article' %>
</blockquote> </blockquote>
</p> </div>
<% end %> <% end %>
<br> <br>
<p> <div>
<a href="<%= c 'http_type' %>://<%= c 'fqdn' %>/#ticket/zoom/<%= d 'ticket.id' %>" target="zammad_app"><%= t 'View this in Zammad' %></a> <a href="<%= c 'http_type' %>://<%= c 'fqdn' %>/#ticket/zoom/<%= d 'ticket.id' %>" target="zammad_app"><%= t 'View this in Zammad' %></a>
</p> </div>

View file

@ -1,18 +1,18 @@
Warten auf Erinnerung erreicht! (<%= d 'ticket.title' %>) Warten auf Erinnerung erreicht! (<%= d 'ticket.title' %>)
<p>Hallo <%= d 'recipient.firstname' %>,</p> <div>Hallo <%= d 'recipient.firstname' %>,</div>
<br> <br>
<p>dieses Ticket benötigt Deine Aufmerksamkeit, warten auf Erinnerung für (<%= d 'ticket.title' %>) mit dem Kunden "<b><%= d 'ticket.customer.longname' %></b>" ist erreicht.</p> <div>dieses Ticket benötigt Deine Aufmerksamkeit, warten auf Erinnerung für (<%= d 'ticket.title' %>) mit dem Kunden "<b><%= d 'ticket.customer.longname' %></b>" ist erreicht.</div>
<br> <br>
<% if @objects[:article] %> <% if @objects[:article] %>
<p> <div>
<%= t 'Information' %>: <%= t 'Information' %>:
<blockquote type="cite"> <blockquote type="cite">
<%= a_html 'article' %> <%= a_html 'article' %>
</blockquote> </blockquote>
</p> </div>
<% end %> <% end %>
<br> <br>
<p> <div>
<a href="<%= c 'http_type' %>://<%= c 'fqdn' %>/#ticket/zoom/<%= d 'ticket.id' %>" target="zammad_app"><%= t 'View this in Zammad' %></a> <a href="<%= c 'http_type' %>://<%= c 'fqdn' %>/#ticket/zoom/<%= d 'ticket.id' %>" target="zammad_app"><%= t 'View this in Zammad' %></a>
</p> </div>

View file

@ -1,18 +1,18 @@
Reminder reached (<%= d 'ticket.title' %>) Reminder reached (<%= d 'ticket.title' %>)
<p>Hi <%= d 'recipient.firstname' %>,</p> <div>Hi <%= d 'recipient.firstname' %>,</div>
<br> <br>
<p>A ticket needs attention, reminder reached for (<%= d 'ticket.title' %>) with customer "<b><%= d 'ticket.customer.longname' %></b>".</p> <div>A ticket needs attention, reminder reached for (<%= d 'ticket.title' %>) with customer "<b><%= d 'ticket.customer.longname' %></b>".</div>
<br> <br>
<% if @objects[:article] %> <% if @objects[:article] %>
<p> <div>
<%= t 'Information' %>: <%= t 'Information' %>:
<blockquote type="cite"> <blockquote type="cite">
<%= a_html 'article' %> <%= a_html 'article' %>
</blockquote> </blockquote>
</p> </div>
<% end %> <% end %>
<br> <br>
<p> <div>
<a href="<%= c 'http_type' %>://<%= c 'fqdn' %>/#ticket/zoom/<%= d 'ticket.id' %>" target="zammad_app"><%= t 'View this in Zammad' %></a> <a href="<%= c 'http_type' %>://<%= c 'fqdn' %>/#ticket/zoom/<%= d 'ticket.id' %>" target="zammad_app"><%= t 'View this in Zammad' %></a>
</p> </div>

View file

@ -1,29 +1,29 @@
Ticket aktualisiert (<%= d 'ticket.title' %>) Ticket aktualisiert (<%= d 'ticket.title' %>)
<p>Hi <%= d 'recipient.firstname' %>,</p> <div>Hi <%= d 'recipient.firstname' %>,</div>
<br> <br>
<div> <div>
Ticket (<%= d 'ticket.title' %>) wurde von "<b><%= d 'current_user.longname' %></b>" aktualisiert. Ticket (<%= d 'ticket.title' %>) wurde von "<b><%= d 'current_user.longname' %></b>" aktualisiert.
</div> </div>
<br> <br>
<% if @objects[:changes] && !@objects[:changes].empty? %> <% if @objects[:changes] && !@objects[:changes].empty? %>
<p> <div>
<%= t 'Changes' %>:<br> <%= t 'Changes' %>:<br>
<% @objects[:changes].each do |key, value| %> <% @objects[:changes].each do |key, value| %>
<%= t key %>: <%= h value[0] %> -&gt; <%= h value[1] %><br> <%= t key %>: <%= h value[0] %> -&gt; <%= h value[1] %><br>
<% end %> <% end %>
</p> </div>
<% end %> <% end %>
<br> <br>
<% if @objects[:article] %> <% if @objects[:article] %>
<p> <div>
<%= t 'Information' %>: <%= t 'Information' %>:
<blockquote type="cite"> <blockquote type="cite">
<%= a_html 'article' %> <%= a_html 'article' %>
</blockquote> </blockquote>
</p> </div>
<% end %> <% end %>
<br> <br>
<p> <div>
<a href="<%= c 'http_type' %>://<%= c 'fqdn' %>/#ticket/zoom/<%= d 'ticket.id' %>" target="zammad_app"><%= t 'View this in Zammad' %></a> <a href="<%= c 'http_type' %>://<%= c 'fqdn' %>/#ticket/zoom/<%= d 'ticket.id' %>" target="zammad_app"><%= t 'View this in Zammad' %></a>
</p> </div>

View file

@ -1,29 +1,29 @@
Updated Ticket (<%= d 'ticket.title' %>) Updated Ticket (<%= d 'ticket.title' %>)
<p>Hi <%= d 'recipient.firstname' %>,</p> <div>Hi <%= d 'recipient.firstname' %>,</div>
<br> <br>
<div> <div>
Ticket (<%= d 'ticket.title' %>) has been updated by "<b><%= d 'current_user.longname' %></b>". Ticket (<%= d 'ticket.title' %>) has been updated by "<b><%= d 'current_user.longname' %></b>".
</div> </div>
<br> <br>
<% if @objects[:changes] && !@objects[:changes].empty? %> <% if @objects[:changes] && !@objects[:changes].empty? %>
<p> <div>
<%= t 'Changes' %>:<br> <%= t 'Changes' %>:<br>
<% @objects[:changes].each do |key, value| %> <% @objects[:changes].each do |key, value| %>
<%= t key %>: <%= h value[0] %> -&gt; <%= h value[1] %><br> <%= t key %>: <%= h value[0] %> -&gt; <%= h value[1] %><br>
<% end %> <% end %>
</p> </div>
<% end %> <% end %>
<br> <br>
<% if @objects[:article] %> <% if @objects[:article] %>
<p> <div>
<%= t 'Information' %>: <%= t 'Information' %>:
<blockquote type="cite"> <blockquote type="cite">
<%= a_html 'article' %> <%= a_html 'article' %>
</blockquote> </blockquote>
</p> </div>
<% end %> <% end %>
<br> <br>
<p> <div>
<a href="<%= c 'http_type' %>://<%= c 'fqdn' %>/#ticket/zoom/<%= d 'ticket.id' %>" target="zammad_app"><%= t 'View this in Zammad' %></a> <a href="<%= c 'http_type' %>://<%= c 'fqdn' %>/#ticket/zoom/<%= d 'ticket.id' %>" target="zammad_app"><%= t 'View this in Zammad' %></a>
</p> </div>

View file

@ -1,19 +1,19 @@
<%= c 'product_name' %>-Anmeldung erfasst von einem neuen Gerät <%= c 'product_name' %>-Anmeldung erfasst von einem neuen Gerät
<p>Hallo <%= d 'user.firstname' %>,</p> <div>Hallo <%= d 'user.firstname' %>,</div>
<br> <br>
<p>es sieht aus, als ob Du Dich mit <b>einem neuen Gerät</b> um "<%= d 'user_device.created_at' %>" angemeldet hast:</p> <div>es sieht aus, als ob Du Dich mit <b>einem neuen Gerät</b> um "<%= d 'user_device.created_at' %>" angemeldet hast:</div>
<br> <br>
<p> <div>
Dein Gerät: <%= d 'user_device.name' %><br> Dein Gerät: <%= d 'user_device.name' %><br>
Deine Lokation (relativ): <%= d 'user_device.location' %><br> Deine Lokation (relativ): <%= d 'user_device.location' %><br>
Deine IP: <%= d 'user_device.ip' %><br> Deine IP: <%= d 'user_device.ip' %><br>
</p> </div>
<br> <br>
<p>Das Gerät wurde in die Liste der bekannten Geräte hinzugefügt, diese Liste kannst Du hier einsehen:</p> <div>Das Gerät wurde in die Liste der bekannten Geräte hinzugefügt, diese Liste kannst Du hier einsehen:</div>
<br> <br>
<p><%= c 'http_type' %>://<%= c 'fqdn' %>/#profile/devices</p> <div><%= c 'http_type' %>://<%= c 'fqdn' %>/#profile/devices</div>
<br> <br>
<p>Wenn dies nicht Du warst, entferne das Gerät aus der Liste, ändere Dein Account-Passwort und kontaktieren Deinen Administrator. Jemand könnte unberechtigten Zugriff auf Dein Konto bekommen haben.</p> <div>Wenn dies nicht Du warst, entferne das Gerät aus der Liste, ändere Dein Account-Passwort und kontaktieren Deinen Administrator. Jemand könnte unberechtigten Zugriff auf Dein Konto bekommen haben.</div>
<br> <br>
<p>Dein <%= c 'product_name' %> Team</p> <div>Dein <%= c 'product_name' %> Team</div>

View file

@ -1,19 +1,19 @@
<%= c 'product_name' %> signin detected from a new device <%= c 'product_name' %> signin detected from a new device
<p>Hi <%= d 'user.firstname' %>,</p> <div>Hi <%= d 'user.firstname' %>,</div>
<br> <br>
<p>It looks like you signed into your account <b>using a new device</b> on "<%= d 'user_device.created_at' %>":</p> <div>It looks like you signed into your account <b>using a new device</b> on "<%= d 'user_device.created_at' %>":</div>
<br> <br>
<p> <div>
Your device: <%= d 'user_device.name' %><br> Your device: <%= d 'user_device.name' %><br>
Your location (relative): <%= d 'user_device.location' %><br> Your location (relative): <%= d 'user_device.location' %><br>
Your IP: <%= d 'user_device.ip' %><br> Your IP: <%= d 'user_device.ip' %><br>
</p> </div>
<br> <br>
<p>Your device has been added to your list of known devices, which you can view here:</p> <div>Your device has been added to your list of known devices, which you can view here:</div>
<br> <br>
<p><%= c 'http_type' %>://<%= c 'fqdn' %>/#profile/devices</p> <div><%= c 'http_type' %>://<%= c 'fqdn' %>/#profile/devices</div>
<br> <br>
<p>If this wasn't you, remove the device, changing your account password, and contacting your administrator. Somebody might have gained unauthorized access to your account.</p> <div>If this wasn't you, remove the device, changing your account password, and contacting your administrator. Somebody might have gained unauthorized access to your account.</div>
<br> <br>
<p>Your <%= c 'product_name' %> Team</p> <div>Your <%= c 'product_name' %> Team</div>

View file

@ -1,19 +1,19 @@
<%= c 'product_name' %>-Anmeldung von einem anderen Land erfasst <%= c 'product_name' %>-Anmeldung von einem anderen Land erfasst
<p>Hallo <%= d 'user.firstname' %>,</p> <div>Hallo <%= d 'user.firstname' %>,</div>
<br> <br>
<p>es sieht aus, als ob Du Dich um "<%= d 'user_device.created_at' %>" von einem <b>bekannten Gerät aus einem anderen Land angemeldet hast</b>:</p> <div>es sieht aus, als ob Du Dich um "<%= d 'user_device.created_at' %>" von einem <b>bekannten Gerät aus einem anderen Land angemeldet hast</b>:</div>
<br> <br>
<p> <div>
Dein Gerät: <%= d 'user_device.name' %><br> Dein Gerät: <%= d 'user_device.name' %><br>
Deine Lokation (relativ): <%= d 'user_device.location' %><br> Deine Lokation (relativ): <%= d 'user_device.location' %><br>
Deine IP: <%= d 'user_device.ip' %><br Deine IP: <%= d 'user_device.ip' %><br>
</p> </div>
<br> <br>
<p>Das neue Land wurde in die Liste der bekannten Geräte hinzugefügt, diese Liste kannst Du hier einsehen:</p> <div>Das neue Land wurde in die Liste der bekannten Geräte hinzugefügt, diese Liste kannst Du hier einsehen:</div>
<br> <br>
<p><%= c 'http_type' %>://<%= c 'fqdn' %>/#profile/devices</p> <div><%= c 'http_type' %>://<%= c 'fqdn' %>/#profile/devices</div>
<br> <br>
<p>Wenn dies nicht Du warst, entferne die neue Lokation aus der Liste, ändere Dein Account-Passwort und kontaktieren Deinen Administrator. Jemand könnte unberechtigten Zugriff auf Dein Konto bekommen haben.</p> <div>Wenn dies nicht Du warst, entferne die neue Lokation aus der Liste, ändere Dein Account-Passwort und kontaktieren Deinen Administrator. Jemand könnte unberechtigten Zugriff auf Dein Konto bekommen haben.</div>
<br> <br>
<p>Dein <%= c 'product_name' %> Team</p> <div>Dein <%= c 'product_name' %> Team</div>

View file

@ -1,19 +1,19 @@
<%= c 'product_name' %> signin detected from a new country <%= c 'product_name' %> signin detected from a new country
<p>Hi <%= d 'user.firstname' %>,</p> <div>Hi <%= d 'user.firstname' %>,</div>
<br> <br>
<p>It looks like you used your account with an <b>known device but from a new country</b> on "<%= d 'user_device.created_at' %>":</p> <div>It looks like you used your account with an <b>known device but from a new country</b> on "<%= d 'user_device.created_at' %>":</div>
<br> <br>
<p> <div>
Your device: <%= d 'user_device.name' %><br> Your device: <%= d 'user_device.name' %><br>
Your location (relative): <%= d 'user_device.location' %><br> Your location (relative): <%= d 'user_device.location' %><br>
Your IP: <%= d 'user_device.ip' %><br Your IP: <%= d 'user_device.ip' %><br>
</p> </div>
<br> <br>
<p>The country has been added to your list of known devices, which you can view here:</p> <div>The country has been added to your list of known devices, which you can view here:</div>
<br> <br>
<p><%= c 'http_type' %>://<%= c 'fqdn' %>/#profile/devices</p> <div><%= c 'http_type' %>://<%= c 'fqdn' %>/#profile/devices</div>
<br> <br>
<p>If this wasn't you, remove the device, changing your account password, and contacting your administrator. Somebody might have gained unauthorized access to your account.</p> <div>If this wasn't you, remove the device, changing your account password, and contacting your administrator. Somebody might have gained unauthorized access to your account.</div>
<br> <br>
<p>Your <%= c 'product_name' %> Team</p> <div>Your <%= c 'product_name' %> Team</div>

View file

@ -1,13 +1,13 @@
Einladung zu <%= c 'product_name' %> über <%= c 'fqdn' %> Einladung zu <%= c 'product_name' %> über <%= c 'fqdn' %>
<p>Hallo <%= d 'user.firstname' %>,</p> <div>Hallo <%= d 'user.firstname' %>,</div>
<br> <br>
<p>Ich (<%= d 'current_user.firstname' %> <%= d 'current_user.lastname' %>) möchte Dich zu <%= c 'product_name' %> einladen - unsere Kundensupport / Ticket System Platform.</p> <div>Ich (<%= d 'current_user.firstname' %> <%= d 'current_user.lastname' %>) möchte Dich zu <%= c 'product_name' %> einladen - unsere Kundensupport / Ticket System Platform.</div>
<br> <br>
<p>Um sich anzumelden kann <a href="<%= c 'http_type' %>://<%= c 'fqdn' %>/#password_reset_verify/<%= d 'token.name' %>">hier</a> das Password gesetzt werden.</p> <div>Um sich anzumelden kann <a href="<%= c 'http_type' %>://<%= c 'fqdn' %>/#password_reset_verify/<%= d 'token.name' %>">hier</a> das Password gesetzt werden.</div>
<br> <br>
<p>Enjoy,</p> <div>Enjoy,</div>
<br> <br>
<p><%= d 'current_user.firstname' %> <%= d 'current_user.lastname' %></p> <div><%= d 'current_user.firstname' %> <%= d 'current_user.lastname' %></div>
<br> <br>
<p>Dein <%= c 'product_name' %> Team</p> <div>Dein <%= c 'product_name' %> Team</div>

View file

@ -1,13 +1,13 @@
Invitation to <%= c 'product_name' %> at <%= c 'fqdn' %> Invitation to <%= c 'product_name' %> at <%= c 'fqdn' %>
<p>Hi <%= d 'user.firstname' %>,</p> <div>Hi <%= d 'user.firstname' %>,</div>
<br> <br>
<p>I (<%= d 'current_user.firstname' %> <%= d 'current_user.lastname' %>) invite you to <%= c 'product_name' %> - our customer support / ticket system platform.</p> <div>I (<%= d 'current_user.firstname' %> <%= d 'current_user.lastname' %>) invite you to <%= c 'product_name' %> - our customer support / ticket system platform.</div>
<br> <br>
<p>Click <a href="<%= c 'http_type' %>://<%= c 'fqdn' %>/#password_reset_verify/<%= d 'token.name' %>">here</a> and set your password.</p> <div>Click <a href="<%= c 'http_type' %>://<%= c 'fqdn' %>/#password_reset_verify/<%= d 'token.name' %>">here</a> and set your password.</div>
<br> <br>
<p>Enjoy,</p> <div>Enjoy,</div>
<br> <br>
<p><%= d 'current_user.firstname' %> <%= d 'current_user.lastname' %></p> <div><%= d 'current_user.firstname' %> <%= d 'current_user.lastname' %></div>
<br> <br>
<p>Your <%= c 'product_name' %> Team</p> <div>Your <%= c 'product_name' %> Team</div>