User tests: Successful: Unsuccessful:
Pull Request for Issue #28932
As title says.
Enable Preview in Template Options
In each template manager filter by Administrator client
Templates Manager will show Preview button for Atum
Templates styles Manager will also get a Preview button
Status | New | ⇒ | Pending |
Category | ⇒ | Administration com_templates Language & Strings |
On it.
Labels |
Added:
?
?
|
I have tested this item
It does what the screenshots show. It seems testing helps learning - I did not know there was template positions preview!
I have tested this item
Works as expected. Even duplicated and confirmed that other functions within the administrator templates and styles works.
Status | Pending | ⇒ | Ready to Commit |
RTC
Labels |
Added:
?
|
Was only cs. Can stay rtc
Template preview doesn't show on PDO. $item->client_id
needs to be cast to integer. But it was same before this patch, so can be fixed in separate PR.
Please fix conflicts.
Should be OK now.
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-05-07 09:48:22 |
Closed_By | ⇒ | rdeutz |
Can you remove the duplicated code? There is no need for client check anymore except when building the preview link.