added missing 'row-title' class on listings
This commit is contained in:
@@ -263,9 +263,10 @@ const NewsletterListNotification = React.createClass({
|
|||||||
<div>
|
<div>
|
||||||
<td className={ rowClasses }>
|
<td className={ rowClasses }>
|
||||||
<strong>
|
<strong>
|
||||||
<a href={ `?page=mailpoet-newsletter-editor&id=${ newsletter.id }` }>
|
<a
|
||||||
{ newsletter.subject }
|
className="row-title"
|
||||||
</a>
|
href={ `?page=mailpoet-newsletter-editor&id=${ newsletter.id }` }
|
||||||
|
>{ newsletter.subject }</a>
|
||||||
</strong>
|
</strong>
|
||||||
{ actions }
|
{ actions }
|
||||||
</td>
|
</td>
|
||||||
|
@@ -283,9 +283,10 @@ const NewsletterListStandard = React.createClass({
|
|||||||
<div>
|
<div>
|
||||||
<td className={ rowClasses }>
|
<td className={ rowClasses }>
|
||||||
<strong>
|
<strong>
|
||||||
<a href={ `?page=mailpoet-newsletter-editor&id=${ newsletter.id }` }>
|
<a
|
||||||
{ newsletter.subject }
|
className="row-title"
|
||||||
</a>
|
href={ `?page=mailpoet-newsletter-editor&id=${ newsletter.id }` }
|
||||||
|
>{ newsletter.subject }</a>
|
||||||
</strong>
|
</strong>
|
||||||
{ actions }
|
{ actions }
|
||||||
</td>
|
</td>
|
||||||
|
@@ -305,9 +305,10 @@ const NewsletterListWelcome = React.createClass({
|
|||||||
<div>
|
<div>
|
||||||
<td className={ rowClasses }>
|
<td className={ rowClasses }>
|
||||||
<strong>
|
<strong>
|
||||||
<a href={ `?page=mailpoet-newsletter-editor&id=${ newsletter.id }` }>
|
<a
|
||||||
{ newsletter.subject }
|
className="row-title"
|
||||||
</a>
|
href={ `?page=mailpoet-newsletter-editor&id=${ newsletter.id }` }
|
||||||
|
>{ newsletter.subject }</a>
|
||||||
</strong>
|
</strong>
|
||||||
{ actions }
|
{ actions }
|
||||||
</td>
|
</td>
|
||||||
|
@@ -186,13 +186,20 @@ const SegmentList = React.createClass({
|
|||||||
const unconfirmed = ~~(segment.subscribers_count.unconfirmed || 0);
|
const unconfirmed = ~~(segment.subscribers_count.unconfirmed || 0);
|
||||||
const unsubscribed = ~~(segment.subscribers_count.unsubscribed || 0);
|
const unsubscribed = ~~(segment.subscribers_count.unsubscribed || 0);
|
||||||
|
|
||||||
let segment_name = (
|
let segment_name;
|
||||||
<Link to={ `/edit/${segment.id}` }>{ segment.name }</Link>
|
|
||||||
);
|
|
||||||
|
|
||||||
// the WP users segment is not editable so just display its name
|
|
||||||
if (segment.type === 'wp_users') {
|
if (segment.type === 'wp_users') {
|
||||||
segment_name = segment.name;
|
// the WP users segment is not editable so just display its name
|
||||||
|
segment_name = (
|
||||||
|
<span className="row-title">{ segment.name }</span>
|
||||||
|
);
|
||||||
|
} else {
|
||||||
|
segment_name = (
|
||||||
|
<Link
|
||||||
|
className="row-title"
|
||||||
|
to={ `/edit/${segment.id}` }
|
||||||
|
>{ segment.name }</Link>
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
@@ -304,9 +304,12 @@ const SubscriberList = React.createClass({
|
|||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<td className={ row_classes }>
|
<td className={ row_classes }>
|
||||||
<strong><Link to={ `/edit/${ subscriber.id }` }>
|
<strong>
|
||||||
{ subscriber.email }
|
<Link
|
||||||
</Link></strong>
|
className="row-title"
|
||||||
|
to={ `/edit/${ subscriber.id }` }
|
||||||
|
>{ subscriber.email }</Link>
|
||||||
|
</strong>
|
||||||
<p style={{margin: 0}}>
|
<p style={{margin: 0}}>
|
||||||
{ subscriber.first_name } { subscriber.last_name }
|
{ subscriber.first_name } { subscriber.last_name }
|
||||||
</p>
|
</p>
|
||||||
|
Reference in New Issue
Block a user