Skip to content

Commit

Permalink
Merge pull request #128 from eduayme/fix/display-alertant-name-and-ph…
Browse files Browse the repository at this point in the history
…one-number

FIX: display alertant person name and phone number (#119)
  • Loading branch information
eduayme authored Aug 26, 2020
2 parents 6898f41 + b283ee1 commit 51ad67b
Showing 1 changed file with 33 additions and 33 deletions.
66 changes: 33 additions & 33 deletions resources/views/searches/data.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -601,38 +601,35 @@
<div class="row">

<!-- Name - OPEN -->
@if( $search->name_alertant )
@if( $search->name_person_alerts )
<div class="col-md-4 margin-top-sm-sm">
<p data-toggle="tooltip" data-placement="top" title="{{ __('register.name') }}">
{{ $search->name_alertant }}
{{ $search->name_person_alerts }}
</p>
</div>
@endif
<!-- Name - CLOSE -->

<!-- Is the lost person - OPEN -->
@if( $search->is_lost_person !== NULL )
<div class="col-md-3 margin-top-sm-sm">
@if( $search->is_lost_person == 1 )
<p> {{ __('forms.is_the_lost_person') }} </p>
@else
<p> {{ __('forms.not_is_the_lost_person') }} </p>
@endif
<!-- Phone number - OPEN -->
@if( $search->phone_number_person_alerts )
<div class="col-md-4 margin-top-sm-sm">
<p data-toggle="tooltip" data-placement="top" title="{{ __('forms.phone') }}">
<span class="octicon octicon-device-mobile"></span>
{{ $search->phone_number_person_alerts }}
</p>
</div>
@endif
<!-- Is the lost person - CLOSE -->
<!-- Phone number - CLOSE -->

<!-- Is the contact person - OPEN -->
@if( $search->is_contact_person !== NULL )
<div class="col-md-3 margin-top-sm-sm">
@if( $search->is_contact_person == 1 )
<p> {{ __('forms.is_the_contact_person') }} </p>
@else
<p> {{ __('forms.not_is_the_contact_person') }} </p>
@endif
<!-- Address - OPEN -->
@if( $search->address_person_alerts )
<div class="col-md-4 margin-top-sm-sm">
<p data-toggle="tooltip" data-placement="top" title="{{ __('forms.address') }}">
{{ $search->address_person_alerts }}
</p>
</div>
@endif
<!-- Is the contact person - CLOSE -->
<!-- Address - CLOSE -->

<!-- Age - OPEN -->
@if( $search->affinity_person_alerts )
Expand All @@ -644,26 +641,29 @@
@endif
<!-- Age - CLOSE -->

<!-- Phone number - OPEN -->
@if( $search->phone_number_alertant )
<!-- Is the lost person - OPEN -->
@if( $search->is_lost_person !== NULL )
<div class="col-md-4 margin-top-sm-sm">
<p data-toggle="tooltip" data-placement="top" title="{{ __('forms.phone') }}">
<span class="octicon octicon-device-mobile"></span>
{{ $search->phone_number_alertant }}
</p>
@if( $search->is_lost_person == 1 )
<p> {{ __('forms.is_the_lost_person') }} </p>
@else
<p> {{ __('forms.not_is_the_lost_person') }} </p>
@endif
</div>
@endif
<!-- Phone number - CLOSE -->
<!-- Is the lost person - CLOSE -->

<!-- Address - OPEN -->
@if( $search->address )
<!-- Is the contact person - OPEN -->
@if( $search->is_contact_person !== NULL )
<div class="col-md-4 margin-top-sm-sm">
<p data-toggle="tooltip" data-placement="top" title="{{ __('forms.address') }}">
{{ $search->address }}
</p>
@if( $search->is_contact_person == 1 )
<p> {{ __('forms.is_the_contact_person') }} </p>
@else
<p> {{ __('forms.not_is_the_contact_person') }} </p>
@endif
</div>
@endif
<!-- Address - CLOSE -->
<!-- Is the contact person - CLOSE -->

</div>

Expand Down

0 comments on commit 51ad67b

Please sign in to comment.