Added faviourtes to other entity types
This commit is contained in:
		
							parent
							
								
									db9aa41096
								
							
						
					
					
						commit
						3ca149137e
					
				| 
						 | 
				
			
			@ -118,6 +118,9 @@
 | 
			
		|||
 | 
			
		||||
            <hr class="primary-background">
 | 
			
		||||
 | 
			
		||||
            @if(signedInUser())
 | 
			
		||||
                @include('partials.entity-favourite-action', ['entity' => $book])
 | 
			
		||||
            @endif
 | 
			
		||||
            @include('partials.entity-export-menu', ['entity' => $book])
 | 
			
		||||
        </div>
 | 
			
		||||
    </div>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -123,6 +123,9 @@
 | 
			
		|||
 | 
			
		||||
            <hr class="primary-background"/>
 | 
			
		||||
 | 
			
		||||
            @if(signedInUser())
 | 
			
		||||
                @include('partials.entity-favourite-action', ['entity' => $chapter])
 | 
			
		||||
            @endif
 | 
			
		||||
            @include('partials.entity-export-menu', ['entity' => $chapter])
 | 
			
		||||
        </div>
 | 
			
		||||
    </div>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -150,9 +150,8 @@
 | 
			
		|||
 | 
			
		||||
            <hr class="primary-background"/>
 | 
			
		||||
 | 
			
		||||
            {{--Export--}}
 | 
			
		||||
            @if(signedInUser())
 | 
			
		||||
                @include('partials.entity-favourite-action', ['entity' => $page, 'alreadyFavourite' => $page->isFavourite()])
 | 
			
		||||
                @include('partials.entity-favourite-action', ['entity' => $page])
 | 
			
		||||
            @endif
 | 
			
		||||
            @include('partials.entity-export-menu', ['entity' => $page])
 | 
			
		||||
        </div>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -133,6 +133,11 @@
 | 
			
		|||
                </a>
 | 
			
		||||
            @endif
 | 
			
		||||
 | 
			
		||||
            @if(signedInUser())
 | 
			
		||||
                <hr class="primary-background">
 | 
			
		||||
                @include('partials.entity-favourite-action', ['entity' => $shelf])
 | 
			
		||||
            @endif
 | 
			
		||||
 | 
			
		||||
        </div>
 | 
			
		||||
    </div>
 | 
			
		||||
@stop
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue