Commit 436394f003f08cf755bc9c77a326c772ed40f498

Authored by Hayk Nazaryan
1 parent cd59d5933a
Exists in master

fix menu items

Showing 1 changed file with 23 additions and 11 deletions Side-by-side Diff

resources/views/employers/menu.blade.php
... ... @@ -83,7 +83,7 @@
83 83 <a href="{{ route('page', ['pages' => "Usloviya-razmescheniya"]) }}" class="cabinet__menu-item @if ($item==2) active @endif">
84 84 <i>
85 85 <svg>
86   - <use xlink:href="{{ asset('images/sprite.svg#cabinet-2') }}"></use>
  86 + <use xlink:href="{{ asset('images/sprite.svg#refresh') }}"></use>
87 87 </svg>
88 88 </i>
89 89 <span>Автоподнятие вакансий</span>
... ... @@ -103,7 +103,7 @@
103 103 <a href="{{ route('page', ['pages' => "Usloviya-razmescheniya"]) }}" class="cabinet__menu-item @if ($item==2) active @endif">
104 104 <i>
105 105 <svg>
106   - <use xlink:href="{{ asset('images/sprite.svg#cabinet-2') }}"></use>
  106 + <use xlink:href="{{ asset('images/sprite.svg#cabinet-7') }}"></use>
107 107 </svg>
108 108 </i>
109 109 <span>База данных</span>
... ... @@ -123,7 +123,7 @@
123 123 <a href="{{ route('page', ['pages' => "Usloviya-razmescheniya"]) }}" class="cabinet__menu-item @if ($item==2) active @endif">
124 124 <i>
125 125 <svg>
126   - <use xlink:href="{{ asset('images/sprite.svg#cabinet-2') }}"></use>
  126 + <use xlink:href="{{ asset('images/sprite.svg#cabinet-8') }}"></use>
127 127 </svg>
128 128 </i>
129 129 <span>База резюме</span>
... ... @@ -131,15 +131,27 @@
131 131 @endif
132 132 @endif
133 133  
  134 + @if(Auth()->user()->employers[0]->sending_is)
  135 + <a href="{{ route('employer.send_all_messages') }}" class="cabinet__menu-item @if ($item==9) active @endif">
  136 + <i>
  137 + <svg>
  138 + <use xlink:href="{{ asset('images/sprite.svg#cabinet-9') }}"></use>
  139 + </svg>
  140 + </i>
  141 + <span>Рассылка сообщений</span>
  142 + </a>
  143 + @else
  144 + <a href="{{ route('page', ['pages' => "Usloviya-razmescheniya"]) }}" class="cabinet__menu-item @if ($item==2) active @endif">
  145 + <i>
  146 + <svg>
  147 + <use xlink:href="{{ asset('images/sprite.svg#cabinet-9') }}"></use>
  148 + </svg>
  149 + </i>
  150 + <span>Рассылка сообщений</span>
  151 + </a>
  152 + @endif
  153 +
134 154  
135   - <a href="{{ route('employer.send_all_messages') }}" class="cabinet__menu-item @if ($item==9) active @endif">
136   - <i>
137   - <svg>
138   - <use xlink:href="{{ asset('images/sprite.svg#cabinet-9') }}"></use>
139   - </svg>
140   - </i>
141   - <span>Рассылка сообщений</span>
142   - </a>
143 155 <a href="{{ route('employer.autoresponder') }}" class="cabinet__menu-item @if ($item==16) active @endif">
144 156 <i>
145 157 <svg>