Skip to content

Commit

Permalink
Add divider to thread items
Browse files Browse the repository at this point in the history
  • Loading branch information
gvollbach committed Oct 19, 2023
1 parent 1b568db commit d86b3ee
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Modules/Forum/classes/class.ilObjForumGUI.php
Original file line number Diff line number Diff line change
Expand Up @@ -830,6 +830,7 @@ protected function renderThreadOverview(ilForumThreadObject $tbl, ilForum $frm,
$list_item = $this->markModeratorPostInOverview($list_item, $current_thread->getThrAuthorId(),
$ref_id);
$thread_buffer[] = $list_item;
$thread_buffer[] = $this->factory->divider()->horizontal();
}
}
}
Expand All @@ -849,9 +850,7 @@ protected function renderThreadOverview(ilForumThreadObject $tbl, ilForum $frm,
->withCurrentPage($current_page);

$vc_container = $this->factory->panel()->standard(
$this->lng->txt('forums_threads'),
$thread_buffer)
->withViewControls($view_control);
$this->lng->txt('forums_threads'), $thread_buffer)->withViewControls($view_control);

$default_html = $this->renderer->render($vc_container);
$modals = $this->renderer->render($this->modal_collection);
Expand Down

0 comments on commit d86b3ee

Please sign in to comment.