Skip to content

Commit c97a507

Browse files
committed
➕ ADDS: view list icon
1 parent 6e875d2 commit c97a507

File tree

2 files changed

+16
-3
lines changed

2 files changed

+16
-3
lines changed

client/reader/list-stream/components/list-stream-header.tsx

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import './list-stream-header.style.scss';
2-
import { Gridicon, Button } from '@automattic/components';
2+
import { Button } from '@wordpress/components';
3+
import { Icon, lock, formatListBullets } from '@wordpress/icons';
34
import { useTranslate } from 'i18n-calypso';
45
import FollowButton from 'calypso/blocks/follow-button/button';
56
import AutoDirection from 'calypso/components/auto-direction';
@@ -44,9 +45,15 @@ const ListStreamHeader = ( {
4445
return (
4546
<AutoDirection>
4647
<NavigationHeader title={ formattedTitle } subtitle={ formattedDescription }>
48+
<div className="list-stream__header-view">
49+
<Button href={ `/lists/${ title }` }>
50+
<Icon icon={ formatListBullets } size={ 24 } />
51+
</Button>
52+
</div>
53+
4754
{ ! isPublic && (
48-
<div className="list-stream__header-title-privacy">
49-
<Gridicon icon="lock" size={ 24 } title={ translate( 'Private list' ) } />
55+
<div className="list-stream__header-title-privacy" title={ translate( 'Private list' ) }>
56+
<Icon icon={ lock } size={ 24 } />
5057
</div>
5158
) }
5259

client/reader/list-stream/view-items/index.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,12 @@ export function ListViewItems( { owner, slug }: ListViewItemsProps ) {
9595
showFollow
9696
/>
9797

98+
<p>
99+
{ translate(
100+
'Browse the sites in this list. Select any site to read its posts or subscribe to it.'
101+
) }
102+
</p>
103+
98104
<ReaderSitesList sites={ sites } followSource="reader-list-view-items" variant="card" />
99105
</ReaderMain>
100106
);

0 commit comments

Comments
 (0)