Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
gab-social
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
gab
social
gab-social
Commits
1bf5f298
Commit
1bf5f298
authored
Oct 22, 2019
by
mgabdev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added search to sidebar menu
parent
bb7b5867
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
app/javascript/gabsocial/components/sidebar_menu.js
app/javascript/gabsocial/components/sidebar_menu.js
+5
-0
No files found.
app/javascript/gabsocial/components/sidebar_menu.js
View file @
1bf5f298
...
...
@@ -33,6 +33,7 @@ const messages = defineMessages({
partners
:
{
id
:
'
promo.partners
'
,
defaultMessage
:
'
Affiliate Partners
'
},
pro
:
{
id
:
'
promo.gab_pro
'
,
defaultMessage
:
'
Upgrade to GabPRO
'
},
trends
:
{
id
:
'
promo.trends
'
,
defaultMessage
:
'
Trends
'
},
search
:
{
id
:
'
tabs_bar.search
'
,
defaultMessage
:
'
Search
'
},
})
const
mapStateToProps
=
state
=>
{
...
...
@@ -163,6 +164,10 @@ class SidebarMenu extends ImmutablePureComponent {
<
Icon
id
=
'
users
'
fixedWidth
/>
<
span
className
=
'
sidebar-menu-item__title
'
>
{
intl
.
formatMessage
(
messages
.
partners
)}
<
/span
>
<
/a
>
<
NavLink
className
=
'
sidebar-menu-item
'
to
=
'
/search
'
onClick
=
{
this
.
handleSidebarClose
}
>
<
Icon
id
=
'
search
'
fixedWidth
/>
<
span
className
=
'
sidebar-menu-item__title
'
>
{
intl
.
formatMessage
(
messages
.
search
)}
<
/span
>
<
/NavLink
>
<
a
className
=
'
sidebar-menu-item
'
href
=
'
https://apps.gab.com
'
>
<
Icon
id
=
'
th
'
fixedWidth
/>
<
span
className
=
'
sidebar-menu-item__title
'
>
{
intl
.
formatMessage
(
messages
.
apps
)}
<
/span
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment