[TASK] Add title for icons
This commit is contained in:
parent
1673fe1248
commit
71ab6e65e4
@ -63,7 +63,7 @@ define(['sorttable', 'snabbdom', 'd3-interpolate', 'moment', 'helper', 'utils/no
|
||||
function renderNeighbourRow(n) {
|
||||
var icons = [V.h('span', { props: { className: 'icon ion-' + (n.link.type.indexOf('wifi') === 0 ? 'wifi' : 'share-alt'), title: _.t(n.link.type) } })];
|
||||
if (helper.hasLocation(n.node)) {
|
||||
icons.push(V.h('span', { props: { className: 'ion-location' } }));
|
||||
icons.push(V.h('span', { props: { className: 'ion-location', title: _.t('location.location') } }));
|
||||
}
|
||||
|
||||
return V.h('tr', [
|
||||
|
@ -51,7 +51,7 @@ define(['sorttable', 'snabbdom', 'helper'], function (SortTable, V, helper) {
|
||||
function renderRow(d) {
|
||||
var td0Content = '';
|
||||
if (helper.hasLocation(d)) {
|
||||
td0Content = V.h('span', { props: { className: 'icon ion-location' } });
|
||||
td0Content = V.h('span', { props: { className: 'icon ion-location', title: _.t('location.location') } });
|
||||
}
|
||||
|
||||
var td1Content = V.h('a', {
|
||||
|
@ -36,7 +36,7 @@ define(['moment', 'snabbdom', 'helper'], function (moment, V, helper) {
|
||||
var items = list.map(function (d) {
|
||||
var td0Content = '';
|
||||
if (helper.hasLocation(d)) {
|
||||
td0Content = V.h('span', { props: { className: 'icon ion-location' } });
|
||||
td0Content = V.h('span', { props: { className: 'icon ion-location', title: _.t('location.location') } });
|
||||
}
|
||||
|
||||
var td1Content = V.h('a', {
|
||||
|
Loading…
Reference in New Issue
Block a user