const siteView = this.props.siteRes?.site_view;
const person = UserService.Instance.myUserInfo?.local_user_view.person;
return (
- <nav className="navbar navbar-expand-md navbar-light shadow-sm p-0 px-3 container-lg">
+ <nav
+ className="navbar navbar-expand-md navbar-light shadow-sm p-0 px-3 container-lg"
+ id="navbar"
+ >
<NavLink
+ id="navTitle"
to="/"
title={siteView?.site.description ?? siteView?.site.name}
className="d-flex align-items-center navbar-brand mr-md-3"
</NavLink>
{person && (
<ul className="navbar-nav d-flex flex-row ml-auto d-md-none">
- <li className="nav-item">
+ <li className="nav-item nav-item-icon">
<NavLink
to="/inbox"
- className="p-1 nav-link border-0"
+ className="p-1 nav-link border-0 nav-messages"
title={i18n.t("unread_messages", {
count: Number(this.state.unreadApplicationCountRes.state),
formattedCount: numToSI(this.unreadInboxCount),
</NavLink>
</li>
{this.moderatesSomething && (
- <li className="nav-item">
+ <li className="nav-item nav-item-icon">
<NavLink
to="/reports"
className="p-1 nav-link border-0"
</li>
)}
{amAdmin() && (
- <li className="nav-item">
+ <li className="nav-item nav-item-icon">
<NavLink
to="/registration_applications"
className="p-1 nav-link border-0"
id="navbarDropdown"
ref={this.mobileMenuRef}
>
- <ul className="mr-auto navbar-nav">
+ <ul id="navbarLinks" className="mr-auto navbar-nav">
<li className="nav-item">
<NavLink
to="/communities"
</a>
</li>
</ul>
- <ul className="navbar-nav">
- <li className="nav-item">
+ <ul id="navbarIcons" className="navbar-nav">
+ <li className="nav-item nav-item-search">
<NavLink
to="/search"
className="nav-link"
</NavLink>
</li>
{amAdmin() && (
- <li className="nav-item">
+ <li className="nav-item nav-item-admin">
<NavLink
to="/admin"
className="nav-link"
)}
{person ? (
<>
- <li className="nav-item">
+ <li className="nav-item nav-item-messages">
<NavLink
className="nav-link"
to="/inbox"
</NavLink>
</li>
{this.moderatesSomething && (
- <li className="nav-item">
+ <li className="nav-item nav-item-moderation">
<NavLink
className="nav-link"
to="/reports"
</li>
)}
{amAdmin() && (
- <li className="nav-item">
+ <li className="nav-item nav-item-applications">
<NavLink
to="/registration_applications"
className="nav-link"
</li>
)}
{person && (
- <div className="dropdown">
+ <div id="dropdownUser" className="dropdown">
<button
className="btn dropdown-toggle"
role="button"