summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntti Ahti <antti.ahti@gmail.com>2015-10-15 11:57:04 +0300
committerAntti Ahti <antti.ahti@gmail.com>2015-10-15 12:00:52 +0300
commit37bb95c7757481fb912dbd2496fe34bb0077ed1d (patch)
tree4a4d752a23af38e98762f22c86ef192f4450b32a
parentf92042fddfb35ed3bb9a69875c7878cc8998c2db (diff)
downloadchat-37bb95c7757481fb912dbd2496fe34bb0077ed1d.tar.gz
chat-37bb95c7757481fb912dbd2496fe34bb0077ed1d.tar.bz2
chat-37bb95c7757481fb912dbd2496fe34bb0077ed1d.zip
Add titles to clarify icons in system console
The + and x icons in the team section can easily be misinterpreted as "Create team" and "Delete team". Added clarifying title text that the user can see when hovering on the icon.
-rw-r--r--web/react/components/admin_console/admin_sidebar.jsx6
1 files changed, 5 insertions, 1 deletions
diff --git a/web/react/components/admin_console/admin_sidebar.jsx b/web/react/components/admin_console/admin_sidebar.jsx
index bc6ad1931..4c2a473b6 100644
--- a/web/react/components/admin_console/admin_sidebar.jsx
+++ b/web/react/components/admin_console/admin_sidebar.jsx
@@ -100,6 +100,7 @@ export default class AdminSidebar extends React.Component {
className='menu-icon--right menu__close'
onClick={this.removeTeam.bind(this, team.id)}
style={{cursor: 'pointer'}}
+ title='Remove team from sidebar menu'
>
{'x'}
</span>
@@ -233,7 +234,10 @@ export default class AdminSidebar extends React.Component {
href='#'
onClick={this.showTeamSelect}
>
- <i className='fa fa-plus'></i>
+ <i
+ className='fa fa-plus'
+ title='Add team to sidebar menu'
+ ></i>
</a>
</span>
</h4>