Skip to content

Commit

Permalink
Undo "else" clause -- we should keep the logic simple and easy to
Browse files Browse the repository at this point in the history
follow, even if it's redundant.

Expand a <ul> to multiple lines.
  • Loading branch information
bharat committed Jun 18, 2010
1 parent 84c8d1c commit f0a99ff
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions modules/comment/views/comments.html.php
Expand Up @@ -16,10 +16,13 @@ class="g-button ui-corner-all ui-icon-left ui-state-default">
<? else: ?>
<?= t("No comments yet.") ?>
<? endif ?>
</p>
<ul><li class="g-no-comments">&nbsp;</li></ul>
<? else: ?>
</p>
<ul>
<li class="g-no-comments">&nbsp;</li>
</ul>
<? endif ?>

<? if ($comments->count()): ?>
<ul>
<? foreach ($comments as $comment): ?>
<li id="g-comment-<?= $comment->id ?>">
Expand Down

0 comments on commit f0a99ff

Please sign in to comment.