Skip to content
Snippets Groups Projects
Unverified Commit 71ab6e65 authored by Xaver Maierhofer's avatar Xaver Maierhofer
Browse files

[TASK] Add title for icons

parent 1673fe12
No related branches found
No related tags found
No related merge requests found
......@@ -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', {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment