Browse Source

UI-1933: Added tooltips for groups features

4.3
Jean-Roch Maitre 10 years ago
parent
commit
e10f914670
2 changed files with 7 additions and 1 deletions
  1. +6
    -0
      submodules/groups/groups.js
  2. +1
    -1
      views/groups-row.html

+ 6
- 0
submodules/groups/groups.js View File

@ -175,6 +175,12 @@ define(function(require){
setTimeout(function() { template.find('.search-query').focus(); });
monster.ui.tooltips(template, {
options: {
container: 'body'
}
});
template.find('.grid-row:not(.title) .grid-cell').on('click', function() {
var cell = $(this),
type = cell.data('type'),


+ 1
- 1
views/groups-row.html View File

@ -30,7 +30,7 @@
{{#if extra.hasFeatures}}
{{#each extra.mapFeatures}}
{{#if this.active}}
<i class="{{this.icon}} {{this.iconColor}}"></i>
<i class="{{this.icon}} {{this.iconColor}}" data-toggle="tooltip" data-placement="top" data-original-title="{{ this.title }}"></i>
{{/if}}
{{/each}}
{{else}}


Loading…
Cancel
Save