Page MenuHomeIn-Portal Phabricator

INP-1474 - Add "placeholder_label" parameter to "st:ContentBlock" tag
Needs ReviewPublic

Authored by erik on Sep 11 2015, 5:02 AM.

Details

Reviewers
alex
Summary

Added "placeholder_label" parameter.

Test Plan
  1. select simple theme
  2. change index.tpl of this theme - add placeholder_label="la_Yes" attribute to <inp2:st_ContentBlock num="1"/> tag in this file
  3. go to Website & Content → Browse Website, click on Content Mode tab, edit content block - delete all it's content, save
  4. confirm that on page in Content Mode placeholder Yes is shown
  5. go to Configuration → Website → Advanced section, enable Revision Control for Section Content option there
  6. go to Website & Content → Browse Website, create and publish new page revision by changing content block #2, leaving content block #1 empty
  7. confirm that on page in Content Mode placeholder Yes is shown also in new revision

Diff Detail

Repository
rINP In-Portal
Branch
branches/5.3.x
Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 141
Build 141: arc lint + arc unit

Event Timeline

erik updated this revision to Diff 303.Sep 11 2015, 5:02 AM
erik retitled this revision from to INP-1474 - Add "placeholder_label" parameter to "st:ContentBlock" tag.
erik updated this object.
erik edited the test plan for this revision. (Show Details)
erik added a reviewer: alex.
erik added 1 JIRA issue(s): INP-1474.
alex added a project: Restricted Project.Mar 10 2016, 5:10 AM