[TikiWiki-commits] [Git][tikiwiki/tiki][master] [FIX][UI] My misplaced div closing tag in MR 9815 caused commments to go...
"Gary Cunningham-Lee \(--- via TikiWiki-cvs" <[email protected]>
| Newsgroups | gmane.comp.cms.tiki.cvs |
|---|---|
| Message-ID | <69e1fcbcb8fc3_3b18ebec2796d@gitlab-sidekiq-low-urgency-cpu-bound-v2-54f6575767-lmfd7.mail> |
Gary Cunningham-Lee pushed to branch master at Tiki Wiki CMS Groupware / Tiki
Commits:
41529617 by Gary Cunningham-Lee at 2026-04-17T18:18:51+09:00
[FIX][UI] My misplaced div closing tag in MR 9815 caused commments to go...
---
* [FIX][UI] My misplaced div closing tag in MR 9815 caused commments to go sideways - literally. Thanks, luci.
See merge request tikiwiki/tiki!10034
- - - - -
1 changed file:
- templates/comment/list_inner.tpl
Changes:
=====================================
templates/comment/list_inner.tpl
=====================================
@@ -65,25 +65,26 @@
{/if}
{if $comment.userName ne $user and $comment.approved eq 'y' and $allow_vote}
<div class="commentRating d-inline-block ms-3">
- <form class="commentRatingForm" method="post">
- <fieldset>
- <legend class="fs-6">{tr}Rate this comment:{/tr}</legend>
- {rating type="comment" id=$comment.threadId}
- <input type="hidden" name="id" value="{$comment.threadId}" />
- <input type="hidden" name="type" value="comment" />
- </fieldset>
- </form>
- {jq}
- var crf = $('form.commentRatingForm').on("submit", function() {
- var vals = $(this).serialize();
- $.tikiModal(tr('Loading...'));
- $.post($.service('rating', 'vote'), vals, function() {
- $.tikiModal();
- showMessage(tr('Thanks for rating!'), "success");
+ <form class="commentRatingForm" method="post">
+ <fieldset>
+ <legend class="fs-6">{tr}Rate this comment:{/tr}</legend>
+ {rating type="comment" id=$comment.threadId}
+ <input type="hidden" name="id" value="{$comment.threadId}" />
+ <input type="hidden" name="type" value="comment" />
+ </fieldset>
+ </form>
+ {jq}
+ var crf = $('form.commentRatingForm').on("submit", function() {
+ var vals = $(this).serialize();
+ $.tikiModal(tr('Loading...'));
+ $.post($.service('rating', 'vote'), vals, function() {
+ $.tikiModal();
+ showMessage(tr('Thanks for rating!'), "success");
+ });
+ return false;
});
- return false;
- });
- {/jq}
+ {/jq}
+ </div>
{/if}
{if $prefs.wiki_comments_simple_ratings eq 'y' && ($tiki_p_ratings_view_results eq 'y' or $tiki_p_admin eq 'y')}
{rating_result type="comment" id=$comment.threadId}
@@ -106,7 +107,6 @@
</div>
</div>
{/if}
- </div>
</div>{* End of comment-footer *}
</div>{* End of comment-item *}
{if ! $level || $prefs.comments_threshold_indent eq '0' || $level lt $prefs.comments_threshold_indent}
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/41529617379b5004c56b5afc7beedc4a801a92aa
--
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/41529617379b5004c56b5afc7beedc4a801a92aa
You're receiving this email because of your account on gitlab.com. Manage all notifications: https://gitlab.com/-/profile/notifications | Help: https://gitlab.com/help
_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs