tweak titles on view/subscribe links

This commit is contained in:
Collin Barrett 2018-02-15 19:47:18 -06:00
parent fb15ef4a4e
commit 27bf25064a

View file

@ -44,14 +44,20 @@ export class Home extends React.Component<RouteComponentProps<{}>, IFilterListsS
{
Header: "View",
accessor: "viewUrl",
Cell: (d: any) => <a href={d.value} title={"View the raw list (typically) in .txt format. Many of these are quite large, so be cautious if on metered bandwidth."}>View</a>,
Cell: (d: any) => <a href={d.value}
title={"View the raw list. Many are quite large, so be cautious if on metered bandwidth."}>
View
</a>,
style: { textAlign: "center" }
},
{
Header: "Subscribe",
accessor: "viewUrl",
Cell: (d: any) => <a href={`abp:subscribe?location=${encodeURIComponent(d.value)
}&amp;title=${encodeURIComponent(d.row.name)}`} title={"Subscribe to list with browser extension supporting \"abp:\" protool (e.g. uBlock Origin, AdBlock Plus)."}>Subscribe</a>,
}&amp;title=${encodeURIComponent(d.row.name)}`}
title={"Subscribe to list with browser extension supporting \"abp:\" protcool (e.g. uBlock Origin, AdBlock Plus)."}>
Subscribe
</a>,
style: { textAlign: "center" }
}
]}