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 |
29164:26:38 |
||||||
running |
#246852
external
|
ERP5.PerformanceTest-Master |
29164:25:43 |
||||||
running |
#246836
external
|
ERP5.UnitTest-Master |
29164:26:27 |
||||||
running |
#246830
external
|
ERP5.UnitTest-Master.Medusa |
29164:26:43 |
||||||
passed |
#246832
external
|
SlapOS.Eggs.UnitTest-Master.Python2 |
00:08:10
|
||||||
running |
#246846
external
|
SlapOS.Eggs.UnitTest-Master.Python3 |
29164:26:05 |
||||||