Ok, maybe I wasn't clear enough in the issue, because it's not exactly what I was thinking of.
What you did is replacing the title in case of empty diary, but on my side I was thinking about just adding a default message to the body, instead of having an empty body, without changing the title.
So something like:
Diary (title)
No event has been recorded yet. (body content)
In terms of code, it means that the sentence would be inside of a TextElement, which would be itself in grid_elements.
Do you think you could adapt your solution this way?
Also small detail, it would be great if you can put a reference to the issue you are addressing if there is any, so that they could be link together.
Like this way: #71
Hi hadi,
Ok, maybe I wasn't clear enough in the issue, because it's not exactly what I was thinking of. What you did is replacing the title in case of empty diary, but on my side I was thinking about just adding a default message to the body, instead of having an empty body, without changing the title.
So something like:
In terms of code, it means that the sentence would be inside of a
TextElement
, which would be itself ingrid_elements
.Do you think you could adapt your solution this way?
Also small detail, it would be great if you can put a reference to the issue you are addressing if there is any, so that they could be link together. Like this way: #71