-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[4.1] Scheduled tasks notes #36244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[4.1] Scheduled tasks notes #36244
Conversation
If a task has a note then it is displayed below the task name inside a small span (just like in all other components) If a task does not have a note then a small span is still present but it contains a language string (which is empty) There is no need for this empty span and there is certainly no need for a language string with no content. ## To test Create a new task with a note Create another new task without a note Check the source code and you will see the empty span on the second task Apply this PR Refresh and check the source of the page again. This time there is no empty span on the task without a note and the note is still displayed on the other task.
| <?php echo $this->escape($item->title); ?> | ||
| <?php endif; ?> | ||
|
|
||
| <span class="small"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please move inside the if statement to not have an empty span when no note.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry - that was the whole point of this pr - doh
|
I have tested this item ✅ successfully on 0ce9a11 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/36244. |
|
@brianteeman Couldn't the "COM_SCHEDULER_NO_NOTE" string be removed from the language file? As far as I can see it is not used anymore after the change here. |
|
@richard67 it is removed |
|
Oh, how could I miss that. |
|
I have tested this item ✅ successfully on d807091 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/36244. |
|
RTC This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/36244. |
|
Thx |
|
thx |
joomla/joomla-cms#30522 + joomla/joomla-cms#32223 + joomla/joomla-cms#31675 + joomla/joomla-cms#35378 + joomla/joomla-cms#35612 + joomla/joomla-cms#35715 + joomla/joomla-cms#35610 + joomla/joomla-cms#35607 + joomla/joomla-cms#35788 + joomla/joomla-cms#35647 + joomla/joomla-cms#35143 + joomla/joomla-cms#36135 + joomla/joomla-cms#35998 + joomla/joomla-cms#36173 + joomla/joomla-cms#36212 + joomla/joomla-cms#36208 + joomla/joomla-cms#36206 + joomla/joomla-cms#36205 + joomla/joomla-cms#36203 + joomla/joomla-cms#36192 + joomla/joomla-cms#36191 + joomla/joomla-cms#36228 + joomla/joomla-cms#36211 + joomla/joomla-cms#36271 + joomla/joomla-cms#36270 + joomla/joomla-cms#36245 + joomla/joomla-cms#36294 + joomla/joomla-cms#36244 + joomla/joomla-cms#36242 + joomla/joomla-cms#36296 + joomla/joomla-cms#36190 + joomla/joomla-cms#36474 + joomla/joomla-cms#36297 + joomla/joomla-cms#36480 + joomla/joomla-cms#36479 + joomla/joomla-cms#36551 + joomla/joomla-cms#36366 + joomla/joomla-cms#36589 + joomla/joomla-cms#36583 + joomla/joomla-cms#36328 + joomla/joomla-cms#36515 + joomla/joomla-cms#36555 + joomla/joomla-cms#36653 + joomla/joomla-cms#36660 + joomla/joomla-cms#36657 + joomla/joomla-cms#36637 + joomla/joomla-cms#35983 + joomla/joomla-cms#36704 + joomla/joomla-cms#36708 + joomla/joomla-cms#36700 +
If a task has a note then it is displayed below the task name inside a small span (just like in all other components)
If a task does not have a note then a small span is still present but it contains a language string (which is empty)
There is no need for this empty span and there is certainly no need for a language string with no content.
To test
Create a new task with a note
Create another new task without a note
Check the source code and you will see the empty span on the second task
Apply this PR
Refresh and check the source of the page again. This time there is no empty span on the task without a note and the note is still displayed on the other task.