I was looking to see if there was a way to hide the display of the stage name in com_content. There is only value in displaying the name when the default workflow is not being used.
I came across this code but I can not see how it is ever triggered
Labels |
Added:
?
|
Labels |
Added:
?
|
aha - no wonder I couldnt get it to work.
So instead of removing it (we shouldnt have unusable code) I will repurpose it so that if the default workflow is being used we do not display the stage.
OK?
I have no opinion here, tbh. But I trust your UX knowledge, if you say it makes sense, let's try it.
well on the basis that with the default workflow the stages are no different to the J3 behaviour it worked well without them then. Of course with a custom workflow they do make sense so I wouldnt remove the display of them in that case
Status | New | ⇒ | Confirmed |
Build | staging | ⇒ | 4.0-dev |
Closed
Status | Confirmed | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-02-20 18:50:29 |
Closed_By | ⇒ | brianteeman |
The idea behind this "if" is: if there are now transitions for you available, the "click event" with displaying the dropdown makes no sense, so it's not implemented.