Ignore:
Timestamp:
02/10/24 17:58:54 (9 months ago)
Author:
bube-ristovska <ristovska725@…>
Branches:
main
Children:
92df8cd
Parents:
6dec591
Message:

Bug with embg

File:
1 edited

Legend:

Unmodified
Added
Removed
  • resources/views/cases.blade.php

    r6dec591 rd9c4096  
    2929<aside class="relative bg-sidebar h-screen w-64 hidden sm:block shadow-xl">
    3030    <div class="p-6">
    31         <a href="#" class="text-white text-3xl font-semibold uppercase hover:text-gray-300">Началник</a>
    32         <button class="w-full bg-white cta-btn font-semibold py-2 mt-5 rounded-br-lg rounded-bl-lg rounded-tr-lg shadow-lg hover:shadow-xl hover:bg-gray-300 flex items-center justify-center">
    33             <i class="fas fa-plus mr-3"></i> Додади полицаец
    34         </button>
     31        @if (Session::get('is_policeman'))
     32            <a href="#" class="text-white text-3xl font-semibold uppercase hover:text-gray-300">Полицаец</a>
     33        @else
     34            <a href="#" class="text-white text-3xl font-semibold uppercase hover:text-gray-300">Началник</a>
     35            <button class="w-full bg-white cta-btn font-semibold py-2 mt-5 rounded-br-lg rounded-bl-lg rounded-tr-lg shadow-lg hover:shadow-xl hover:bg-gray-300 flex items-center justify-center">
     36                <i class="fas fa-plus mr-3"></i> <a href="/register-policeman">Додади полицаец</a>
     37            </button>
     38        @endif
    3539    </div>
    3640    <nav class="text-white text-base font-semibold pt-3">
     
    140144            <div class="w-full mt-12">
    141145                <p class="text-xl pb-3 flex items-center">
    142                     <i class="fas fa-list mr-3"></i> Случаи од станица Карпош - Скопје
     146                    <i class="fas fa-list mr-3"></i> Случаи од станица {{$p_address}}
    143147                </p>
    144148                <div class="bg-white overflow-auto">
Note: See TracChangeset for help on using the changeset viewer.