Small improvements.
This commit is contained in:
parent
2e84756b0e
commit
cc2a436dd6
1 changed files with 5 additions and 7 deletions
|
@ -229,11 +229,10 @@ class Observer::Ticket::Notification::BackgroundJob
|
||||||
def template_create(user, ticket, article, _ticket_changes)
|
def template_create(user, ticket, article, _ticket_changes)
|
||||||
article_content = ''
|
article_content = ''
|
||||||
if article
|
if article
|
||||||
article_content = '<snip>
|
article_content = 'i18n(Information):
|
||||||
<blockquote type="cite">
|
<blockquote type="cite">
|
||||||
#{article.body.text2html}
|
#{article.body.text2html}
|
||||||
</blockquote>
|
</blockquote>
|
||||||
</snip>
|
|
||||||
<br>
|
<br>
|
||||||
<br>'
|
<br>'
|
||||||
end
|
end
|
||||||
|
@ -295,11 +294,10 @@ State: i18n(#{ticket.state.name.text2html})<br>
|
||||||
}
|
}
|
||||||
article_content = ''
|
article_content = ''
|
||||||
if article
|
if article
|
||||||
article_content = '<snip>
|
article_content = 'i18n(Information):
|
||||||
<blockquote type="cite">
|
<blockquote type="cite">
|
||||||
#{article.body.text2html}
|
#{article.body.text2html}
|
||||||
</blockquote>
|
</blockquote>
|
||||||
</snip>
|
|
||||||
<br>
|
<br>
|
||||||
<br>'
|
<br>'
|
||||||
end
|
end
|
||||||
|
@ -312,7 +310,7 @@ Ticket (#{ticket.title.text2html}) wurde von "<b>#{ticket.updated_by.fullname.te
|
||||||
</div>
|
</div>
|
||||||
<br>
|
<br>
|
||||||
<div>
|
<div>
|
||||||
Änderungen:<br>
|
i18n(Changes):<br>
|
||||||
' + changes + '
|
' + changes + '
|
||||||
</div>
|
</div>
|
||||||
<br>
|
<br>
|
||||||
|
@ -329,7 +327,7 @@ Ticket (#{ticket.title.text2html}) has been updated by "<b>#{ticket.updated_by.f
|
||||||
</div>
|
</div>
|
||||||
<br>
|
<br>
|
||||||
<div>
|
<div>
|
||||||
Changes:<br>
|
i18n(Changes):<br>
|
||||||
' + changes + '
|
' + changes + '
|
||||||
</div>
|
</div>
|
||||||
<br>
|
<br>
|
||||||
|
@ -389,7 +387,7 @@ Changes:<br>
|
||||||
def template_footer(_user, _ticket, _article)
|
def template_footer(_user, _ticket, _article)
|
||||||
'
|
'
|
||||||
<p>
|
<p>
|
||||||
<a href="#{config.http_type}://#{config.fqdn}/#ticket/zoom/#{ticket.id}">i18n(View this directly here)</a>
|
<a href="#{config.http_type}://#{config.fqdn}/#ticket/zoom/#{ticket.id}">i18n(View this in Zammad)</a>
|
||||||
</p>
|
</p>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<a href="#{config.http_type}://#{config.fqdn}/#profile/notifications">i18n(Manage your notifications settings)</a>
|
<a href="#{config.http_type}://#{config.fqdn}/#profile/notifications">i18n(Manage your notifications settings)</a>
|
||||||
|
|
Loading…
Reference in a new issue