diff --git a/mozilla/webtools/addons/public/tpl/addon.tpl b/mozilla/webtools/addons/public/tpl/addon.tpl index eca676b3af4..31e43636ebc 100644 --- a/mozilla/webtools/addons/public/tpl/addon.tpl +++ b/mozilla/webtools/addons/public/tpl/addon.tpl @@ -102,7 +102,13 @@ Works with:
by {$addon->Comments[comments].CommentName|strip_tags}, {$addon->Comments[comments].CommentDate|date_format}
+by +{if $addon->Comments[comments].CommentName} +{$addon->Comments[comments].CommentName|strip_tags} +{else} +{$addon->Comments[comments].UserName|strip_tags} +{/if} +, {$addon->Comments[comments].CommentDate|date_format}
{$addon->Comments[comments].CommentNote|strip_tags}
{$addon->Comments[comments].helpful_yes} out of {$addon->Comments[comments].helpful_total} viewers found this comment helpful
Was this comment helpful? Yes | No
by {$addon->Comments[comments].CommentName|strip_tags}, {$addon->Comments[comments].CommentDate|date_format}
+by +{if $addon->Comments[comments].CommentName} +{$addon->Comments[comments].CommentName|strip_tags} +{else} +{$addon->Comments[comments].UserName|strip_tags} +{/if} +, {$addon->Comments[comments].CommentDate|date_format}
{$addon->Comments[comments].CommentNote|strip_tags}
{$addon->Comments[comments].helpful_yes} out of {$addon->Comments[comments].helpful_total} viewers found this comment helpful
Was this comment helpful? Yes | No