diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2010-06-18 14:31:04 -0700 | 
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2010-06-18 14:31:04 -0700 | 
| commit | f0a99ffc2764a64712a5c5c3abc9a4b3f3c09616 (patch) | |
| tree | fd5c6039e7f98425996d2d4122b2ab29fe91e1e0 /modules/comment/views | |
| parent | 84c8d1c79a07aa72bb0a22cd3c0673df6f5886f2 (diff) | |
Undo "else" clause -- we should keep the logic simple and easy to
follow, even if it's redundant.
Expand a <ul> to multiple lines.
Diffstat (limited to 'modules/comment/views')
| -rw-r--r-- | modules/comment/views/comments.html.php | 9 | 
1 files changed, 6 insertions, 3 deletions
| diff --git a/modules/comment/views/comments.html.php b/modules/comment/views/comments.html.php index 1b9f8bbb..da45f57b 100644 --- a/modules/comment/views/comments.html.php +++ b/modules/comment/views/comments.html.php @@ -16,10 +16,13 @@      <? else: ?>      <?= t("No comments yet.") ?>      <? endif ?> -  </p> -  <ul><li class="g-no-comments"> </li></ul> -  <? else: ?> +   </p> +  <ul> +    <li class="g-no-comments"> </li> +  </ul> +  <? endif ?> +  <? if ($comments->count()): ?>    <ul>      <? foreach ($comments as $comment): ?>      <li id="g-comment-<?= $comment->id ?>"> | 
