<xf:if is="$content.rating == 'positive'">
{{ phrase('xa_cas_you_recieved_feedback_from_x', {
'username': username_link($user, false, {'defaultname': $alert.username}),
'rating': phrase('xa_cas_positive')|to_lower,
'feedbackLinkParams': 'href="' . link('cas/feedback', $content) . '" class="fauxBlockLink-blockLink"'
}) }}
<xf:elseif is="$content.rating == 'negative'" />
{{ phrase('xa_cas_you_recieved_feedback_from_x', {
'username': username_link($user, false, {'defaultname': $alert.username}),
'rating': phrase('xa_cas_negative')|to_lower,
'feedbackLinkParams': 'href="' . link('cas/feedback', $content) . '" class="fauxBlockLink-blockLink"'
}) }}
<xf:else />
{{ phrase('xa_cas_you_recieved_feedback_from_x', {
'username': username_link($user, false, {'defaultname': $alert.username}),
'rating': phrase('xa_cas_neutral')|to_lower,
'feedbackLinkParams': 'href="' . link('cas/feedback', $content) . '" class="fauxBlockLink-blockLink"'
}) }}
</xf:if>