fix policy ticket gitlab

This commit is contained in:
Vincent BRIDIER 2023-08-16 12:24:32 +02:00
parent 8f37b29cee
commit 0633d6ebef
No known key found for this signature in database
GPG key ID: 8571BFA20420D512

View file

@ -262,6 +262,7 @@
<button class="btn btn-warning align-end" type="submit">{{ __("Créer l'issue Gitlab") }}</button>
</form>
@else
@can('isAdmin')
@if (!\is_null($ticket->gitlab_issue))
<br>
<p>
@ -269,5 +270,6 @@
<a href="{{ $ticket->gitlab_issue}}" target="_blank">{{ __("Ouvrir") }}</a>
</p>
@endif
@endcan
@endcan
@endsection