summaryrefslogtreecommitdiffstats
path: root/ui/src/components/post-listing.tsx
diff options
context:
space:
mode:
authorDessalines <tyhou13@gmx.com>2020-03-03 10:14:50 -0500
committerDessalines <tyhou13@gmx.com>2020-03-03 10:14:50 -0500
commitb3b4b7977570edda224003efca5396c10363599d (patch)
tree4f60c3e531965b0d362bb84e51b83b4228ba9419 /ui/src/components/post-listing.tsx
parentfe5bd0341a438a5e666e4abd2885b97a7813e49e (diff)
More additions to icons.
- Adding edit and trash icons for sidebars - Adding pencil edit instead of modified.
Diffstat (limited to 'ui/src/components/post-listing.tsx')
-rw-r--r--ui/src/components/post-listing.tsx8
1 files changed, 7 insertions, 1 deletions
diff --git a/ui/src/components/post-listing.tsx b/ui/src/components/post-listing.tsx
index bc23543a..6e285ee9 100644
--- a/ui/src/components/post-listing.tsx
+++ b/ui/src/components/post-listing.tsx
@@ -579,8 +579,14 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
<span
className="pointer"
onClick={linkEvent(this, this.handleViewSource)}
+ data-tippy-content={i18n.t('view_source')}
>
- {i18n.t('view_source')}
+ <svg
+ class={`icon icon-inline ${this.state
+ .viewSource && 'text-success'}`}
+ >
+ <use xlinkHref="#icon-eye"></use>
+ </svg>
</span>
</li>
)}