Needs review
Project:
Office Hours
Version:
8.x-1.x-dev
Component:
Code - formatter
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
18 Jun 2020 at 13:29 UTC
Updated:
31 Jan 2024 at 14:27 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
johnvComment #3
larisse commentedHi! I made a patch to do solve this.
My idea was set a value, like xx-xx in table in empty days. Doing this, I can put the text 'Closed' in the same column of comments.
The way I made, the text 'Closed' is put even if the comments are unable, but if the comments are able, the comment is put in the same column where hours are (like was working).
I will put the images for see how are when apply the patch. I don't know if has a better way to do it, but if anyone has any idea, I'm open to work in this. :)
Comment #4
johnvComment #5
johnvThanks, sorry for the delay.
Attached patch takes another approach, using php, not twig.
I am not sure about the wanted behaviour of
if ($formatted_slot || $item_comments) {Also not sure about the benefits of the change.
Curious for user feedback.