HomePhabricator

Refactoring: replace 'classes' with 'icon-class'
aecbd65f5a20Unpublished

Authored by Hwboehm on Jan 29 2019, 2:30 PM.

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Refactoring: replace 'classes' with 'icon-class'

The array-based link definitions are derived from BaseTemplate.
They normally consist of the fields text, title, href, class and id.
A lot of work is done with icons that do not belong to the link element,
but are rendered in a separate element (i or span), therefore
a corresponding icon class is used.
This was previously solved using the field 'classes'.
Since this name is not very meaningful it is changed to 'icon-class'

ERM 10786

Pls Cherrypick to REL1_31

Change-Id: I0fdc388c19028a47d0e473f58c4d04aaefd8a143

Details