mirror of
https://github.com/ansible/awx.git
synced 2026-01-12 18:40:01 -03:30
Merge pull request #209 from joefiorini/tooltip-for-titles
Use tooltip plugin for title attributes
This commit is contained in:
commit
b70fa02f2c
@ -1,4 +1,6 @@
|
||||
import listGenerator from './list-generator/main';
|
||||
import title from './title.directive';
|
||||
|
||||
export default
|
||||
angular.module('shared', [listGenerator.name]);
|
||||
angular.module('shared', [listGenerator.name])
|
||||
.directive('title', title);
|
||||
|
||||
8
awx/ui/static/js/shared/title.directive.js
Normal file
8
awx/ui/static/js/shared/title.directive.js
Normal file
@ -0,0 +1,8 @@
|
||||
/* jshint unused: vars */
|
||||
|
||||
export default function() {
|
||||
return function(scope, element, attrs) {
|
||||
element.tooltip();
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user