Minor reformatting of Analysis details markup, not 2.0-specific.
This commit is contained in:
parent
3d63512477
commit
f3b93613ea
|
@ -1,23 +1,25 @@
|
|||
<div id="bayesContent">
|
||||
{foreach from=$comments item=comment}
|
||||
<h3>{$CONST.COMMENT} {$comment.id}</h3>
|
||||
{foreach from=$comments item=comment}
|
||||
<h3>{$CONST.COMMENT} #{$comment.id}</h3>
|
||||
|
||||
<ul class="plainList bayesAnalysis">
|
||||
{foreach from=$types item=type}
|
||||
<li class="ratingBox"><div class="commentType">{$type}</div>
|
||||
<div class="commentPart">{$comment.$type|escape:"html"}</div>
|
||||
<div class="rating">
|
||||
{if $comment.ratings.$type != "-"}
|
||||
{$comment.ratings.$type|regex_replace:"/\..*/":""}%
|
||||
{else}
|
||||
{$comment.ratings.$type}
|
||||
{/if}
|
||||
</div>
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
<div class="finalRating">{$comment.rating|regex_replace:"/\..*/":""}%</div>
|
||||
{/foreach}
|
||||
<ul class="plainList bayesAnalysis">
|
||||
{foreach from=$types item=type}
|
||||
<li class="ratingBox">
|
||||
<div class="commentType">{$type}</div>
|
||||
<div class="commentPart">{$comment.$type|escape:"html"}</div>
|
||||
<div class="rating">
|
||||
{if $comment.ratings.$type != "-"}
|
||||
{$comment.ratings.$type|regex_replace:"/\..*/":""}%
|
||||
{else}
|
||||
{$comment.ratings.$type}
|
||||
{/if}
|
||||
</div>
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
|
||||
<div class="finalRating">{$comment.rating|regex_replace:"/\..*/":""}%</div>
|
||||
{/foreach}
|
||||
|
||||
<script src="{$path}jquery.excerpt.js" type="text/javascript"></script>
|
||||
<script>shortenAll("commentPart", 1)
|
||||
|
|
Loading…
Reference in a new issue