officejs_support_request_ui: more flexible way of making preview link for attachments
Instead of expecting exactly actions with "preview" or "view" name, take any action which name contains "preview" (or title is "Preview") or name is "view". This makes it easier to include support request applications in different applications, where the default actions might have a different name. This also fixes the preview link for File portal type, because there was no "preview" or "view" actions for File.
Status | Job ID | Name | Coverage | ||||||
---|---|---|---|---|---|---|---|---|---|
External | |||||||||
running |
#246834
external
|
ERP5.CodingStyleTest-Master |
27128:56:33 |
||||||
running |
#246852
external
|
ERP5.PerformanceTest-Master |
27128:55:38 |
||||||
running |
#246836
external
|
ERP5.UnitTest-Master |
27128:56:23 |
||||||
running |
#246830
external
|
ERP5.UnitTest-Master.Medusa |
27128:56:38 |
||||||
passed |
#246832
external
|
SlapOS.Eggs.UnitTest-Master.Python2 |
00:08:10
|
||||||
running |
#246846
external
|
SlapOS.Eggs.UnitTest-Master.Python3 |
27128:56:00 |
||||||