@extends('layouts.app') @section('page-title')

{{ __($pageTitle) }} #{{ $project->id }} - {{ ucwords($project->project_name) }}

@lang('app.edit')
@endsection @push('head-script') @endpush @section('content')
@include('admin.projects.show_project_menu')
@lang('app.back') @lang('app.reply') @if (!is_null($discussion->best_answer_id)) @lang('modules.discussions.goBestReply') @endif
@foreach ($discussionReplies as $key=>$reply)
@if ($key == 0)

{{ $discussion->title }}

{{ ucwords($discussion->category->name) }}
{!! Form::hidden('project_id', $project->id, ['id' => 'project_id']) !!}
@endif
user
@if ($key != 0 && is_null($discussion->best_answer_id) && $discussion->user_id == $user->id) @elseif($discussion->best_answer_id == $reply->id)
@endif
@lang('app.reply') @if($discussion->best_answer_id == $reply->id && $discussion->user_id == $user->id) @lang('modules.discussions.removeBestReply') @endif @if ($reply->user_id == $user->id) @lang('app.edit') @if ($key != 0) @lang('app.delete') @endif @endif
@endforeach
{{--Ajax Modal--}} {{--Ajax Modal Ends--}} @endsection @push('footer-script') @endpush