Actions
Feature #43632
openShow a message when recent_pages macro does not return any page
Resolution:
Files
Related issues
Updated by Florian Walchshofer about 1 month ago
- File show_message_no_page_found_recent_page_makro.patch show_message_no_page_found_recent_page_makro.patch added
- File show_message_no_page_found_localization.patch show_message_no_page_found_localization.patch added
a patch to show a message, if no pages where found
with test an localization
return l(:label_no_recent_wiki_pages, days: days_to_list) if pages.empty?
label_no_recent_wiki_pages: "No wiki pages updated within the last %{days} days."
Updated by Marius BĂLTEANU 23 days ago
- Related to Feature #38501: recent_pages macro that displays a list of recently updated Wiki pages added
Updated by Marius BĂLTEANU 21 days ago
- File Screenshot 2026-01-23 at 22.28.39.png Screenshot 2026-01-23 at 22.28.39.png added
- File Screenshot 2026-01-23 at 22.36.29.png Screenshot 2026-01-23 at 22.36.29.png added
Existing {{child_pages}} macro does not show any message where the are no child pages, here is a test on the current trunk:

If a add the text just as plain text, it looks quite akward:

I think we need to improve the UI for this, but I'm not sure which is the best option. Any ideeas?
Updated by Marius BĂLTEANU 15 days ago
- Target version changed from 6.1.2 to Candidate for next minor release
I'm assigning this for next versions until we get some feedback regarding the implementation.
Actions