mirror of
https://github.com/ansible/awx.git
synced 2026-08-02 19:10:00 -02:30
AC-201 Added help to Job Hosts Summary page. Added logic to the Attr method used in form generator and list generator to support icon sizing.
This commit is contained in:
@@ -59,6 +59,12 @@ angular.module('GeneratorHelpers', ['GeneratorHelpers'])
|
||||
case 'dataContainer':
|
||||
result = "data-container=\"" + value + "\" ";
|
||||
break;
|
||||
case 'icon':
|
||||
// new method of constructing <i> icon tag. Replces Icon method.
|
||||
result = "<i class=\"" + value;
|
||||
result += (obj['iconSize']) ? " icon-" + obj['iconSize'] : "";
|
||||
result += "\"></i>";
|
||||
break;
|
||||
default:
|
||||
result = key + "=\"" + value + "\" ";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user