a925ae9bf7d216313aec90ebe0d42cf89ec24c67,modules/s3layouts.py,S3HomepageMenuLayout,layout,#Any#,406

Before Change



                icon = item.opts.icon
                if icon:
                    return A(LABEL(ICON(icon), item.label),
                             _class = _class,
                             _href = item.url(),
                             _id = _id,
                             )
                else:
                    return A(LABEL(item.label),
                             _class = _class,
                             _href = item.url(),

After Change



                icon = item.opts.icon
                if icon:
                    label = LABEL(ICON(icon), item.label)
                else:
                    label = LABEL(item.label)
                return A(label,
                         _class = _class,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: sahana/eden
Commit Name: a925ae9bf7d216313aec90ebe0d42cf89ec24c67
Time: 2018-08-02
Author: dominic@nursix.org
File Name: modules/s3layouts.py
Class Name: S3HomepageMenuLayout
Method Name: layout


Project Name: sahana/eden
Commit Name: 16dbead001c93653570b50f759e6f0a6fe18d9eb
Time: 2018-08-02
Author: dominic@nursix.org
File Name: modules/templates/SHARE/layouts.py
Class Name: S3MainMenuLayout
Method Name: layout


Project Name: sahana/eden
Commit Name: 16dbead001c93653570b50f759e6f0a6fe18d9eb
Time: 2018-08-02
Author: dominic@nursix.org
File Name: modules/s3layouts.py
Class Name: S3MainMenuDefaultLayout
Method Name: layout