add help link for transaction types

This commit is contained in:
Jeremy Kauffman 2017-11-08 18:14:32 -05:00
parent a6946b4930
commit d9f65aaff3
3 changed files with 9 additions and 1 deletions

View file

@ -71,7 +71,7 @@ class TransactionListItem extends React.PureComponent {
</div> </div>
</div> </div>
: <span className="empty"> : <span className="empty">
{__("(Transaction pending)")} {__("Pending")}
</span>} </span>}
</td> </td>
<td> <td>

View file

@ -1,6 +1,8 @@
import React from "react"; import React from "react";
import TransactionListItem from "./internal/TransactionListItem"; import TransactionListItem from "./internal/TransactionListItem";
import FormField from "component/formField"; import FormField from "component/formField";
import Link from "component/link";
import * as icons from "constants/icons";
import * as modals from "constants/modal_types"; import * as modals from "constants/modal_types";
class TransactionList extends React.PureComponent { class TransactionList extends React.PureComponent {
@ -59,6 +61,11 @@ class TransactionList extends React.PureComponent {
<option value="support">{__("Supports")}</option> <option value="support">{__("Supports")}</option>
<option value="update">{__("Updates")}</option> <option value="update">{__("Updates")}</option>
</FormField> </FormField>
{" "}
<Link
href="https://lbry.io/faq/transaction-types"
icon={icons.HELP_CIRCLE}
/>
</span>} </span>}
{!transactionList.length && {!transactionList.length &&
<div className="empty"> <div className="empty">

View file

@ -2,3 +2,4 @@ export const FEATURED = "rocket";
export const LOCAL = "folder"; export const LOCAL = "folder";
export const FILE = "file"; export const FILE = "file";
export const HISTORY = "history"; export const HISTORY = "history";
export const HELP_CIRCLE = "question-circle";