Changeset 94f05dc for resources/views


Ignore:
Timestamp:
10/24/21 23:23:54 (3 years ago)
Author:
beratkjufliju <kufliju@…>
Branches:
develop, master
Children:
df6e9ec
Parents:
fa80fbe
Message:

bug fixes

Location:
resources/views/dashboard
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • resources/views/dashboard/files/index.blade.php

    rfa80fbe r94f05dc  
    7676                                            @else @if(in_array(explode('.', $file->name)[1], $imageExt))
    7777                                                    <div class="col-xl-1 col-lg-1 col-md-1 col-sm-2">
    78                                                         <a href="{{ url('/uploads/' . $file->location) }}" class="image-popup-gallery-item">
     78                                                        <a href="{{ url('/storage/' . $file->location) }}" class="image-popup-gallery-item">
    7979                                                            <div class="image-hover">
    80                                                                 <img src="{{ url('/uploads/' . $file->location) }}" class="rounded" width="30" alt="image">
     80                                                                <img src="{{ url('/storage/' . $file->location) }}" class="rounded" width="30" alt="image">
    8181                                                            </div>
    8282                                                        </a>
  • resources/views/dashboard/folders/files.blade.php

    rfa80fbe r94f05dc  
    1010                <div class="card-body">
    1111                    @if(auth()->user()->hasPermission('manage_all_folders'))
    12                     <a class="btn btn-secondary btn-block text-white" href="javascript:void(0)" data-target="#editModal_{{$folder->id}}" data-toggle="modal">
    13                         Upload
     12                    <a class="btn btn-secondary btn-block text-white" href="javascript:void(0)" data-target="#createModal{{$folder->id}}" data-toggle="modal">
     13                        Edit folder
    1414                    </a>
    1515                        @endif
     
    4444                            <div class="dropdown-menu">
    4545                                <a class="dropdown-item" href="javascript:void(0)" data-toggle="modal" data-target="#editModal_{{$folder->id}}">
    46                                     Upload
     46                                    Edit folder
    4747                                </a>
    4848                            </div>
     
    8888                                    @else @if(in_array(explode('.', $file->name)[1], $imageExt))
    8989                                            <div class="col-xl-1 col-lg-1 col-md-1 col-sm-2">
    90                                                 <a href="{{ url('/uploads/' . $file->location) }}" class="image-popup-gallery-item">
     90                                                <a href="{{ url('/storage/' . $file->location) }}" class="image-popup-gallery-item">
    9191                                                    <div class="image-hover">
    92                                                         <img src="{{ url('/uploads/' . $file->location) }}" class="rounded" width="100" alt="image">
     92                                                        <img src="{{ url('/storage/' . $file->location) }}" class="rounded" width="100" alt="image">
    9393                                                    </div>
    9494                                                </a>
  • resources/views/dashboard/index.blade.php

    rfa80fbe r94f05dc  
    145145                                            @else @if(in_array(explode('.', $file->name)[1], $imageExt))
    146146                                                    <div class="col-xl-1 col-lg-1 col-md-1 col-sm-2">
    147                                                         <a href="{{ url('/uploads/' . $file->location) }}" class="image-popup-gallery-item">
     147                                                        <a href="{{ url('/storage/' . $file->location) }}" class="image-popup-gallery-item">
    148148                                                            <div class="image-hover">
    149                                                                 <img src="{{ url('/uploads/' . $file->location) }}" class="rounded" width="30" alt="image">
     149                                                                <img src="{{ url('/storage/' . $file->location) }}" class="rounded" width="30" alt="image">
    150150                                                            </div>
    151151                                                        </a>
Note: See TracChangeset for help on using the changeset viewer.