Ignore:
Timestamp:
11/20/22 16:34:52 (2 years ago)
Author:
Marko <Marko@…>
Branches:
master
Parents:
ffd50db
Message:

Final features implemented

File:
1 edited

Legend:

Unmodified
Added
Removed
  • phonelux-frontend/src/components/NavbarComponent/NavbarComponent.js

    rffd50db r47f4eaf  
    1212import SupervisorAccountIcon from '@mui/icons-material/SupervisorAccount';
    1313import CompareIcon from '@mui/icons-material/Compare';
     14import BugReportIcon from '@mui/icons-material/BugReport';
     15import ReportIcon from '@mui/icons-material/Report';
     16import UpdateIcon from '@mui/icons-material/Update';
    1417
    1518export class NavbarComponent extends Component {
     
    3639            <Link style={{color: 'black'}} to={"/management/users"}>
    3740              <SupervisorAccountIcon style={{fontSize: '40px', marginTop: '10px', marginRight: '10px' }} className='navbar-superadmin-icon'/>
     41            </Link>
     42          </Tippy> : <></>
     43        }
     44         {
     45          localStorage.getItem('token') && this.context.role == 'SUPERADMIN' ?
     46          <Tippy placement='bottom' content='Преземање на содржина'>
     47            <Link style={{color: 'black'}} to={"/scrapperinfo"}>
     48              <UpdateIcon style={{fontSize: '40px', marginTop: '10px', marginRight: '10px' }} className='navbar-superadmin-icon'/>
     49            </Link>
     50          </Tippy> : <></>
     51        }
     52         {
     53          localStorage.getItem('token') && (this.context.role == 'SUPERADMIN' || this.context.role == 'ADMIN') ?
     54          <Tippy placement='bottom' content='Пријавени понуди'>
     55            <Link style={{color: 'black'}} to={"/offerreport/reports"}>
     56              <BugReportIcon style={{fontSize: '40px', marginTop: '10px', marginRight: '10px' }} className='navbar-offerreports-icon'/>
    3857            </Link>
    3958          </Tippy> : <></>
Note: See TracChangeset for help on using the changeset viewer.