forked from aslan/applicant-site
add field URL to show views from department, direction, documents
This commit is contained in:
parent
4b094339f0
commit
5a462a0823
|
@ -14,6 +14,8 @@
|
|||
<p>{{ $department->description }}</p>
|
||||
<h2>Позиция</h2>
|
||||
<p>{{ $department->position }}</p>
|
||||
<h2>URL</h2>
|
||||
<p>{{ $department->slug }}</p>
|
||||
<h2>Направления подготовки</h2>
|
||||
@foreach($department->directions as $direction)
|
||||
<p><a href="{{ route('faculties.show', $direction) }}">{{ $direction->name }}</a></p>
|
||||
|
|
|
@ -19,6 +19,8 @@
|
|||
<p>{{ $direction->description }}</p>
|
||||
<h2>Позиция</h2>
|
||||
<p>{{ $direction->position }}</p>
|
||||
<h2>URL</h2>
|
||||
<p>{{ $direction->slug }}</p>
|
||||
<h2>Кафедра</h2>
|
||||
<p><a href="{{ route('departments.show', $department) }}">{{ $department->name }}</a></p>
|
||||
</div>
|
||||
|
|
|
@ -0,0 +1,19 @@
|
|||
@extends('layouts.admin_layout')
|
||||
@section('content')
|
||||
@auth()
|
||||
<div class="container mt-4">
|
||||
<h2>Отображаемое имя документа</h2>
|
||||
<p>{{ $document->name }}</p>
|
||||
<h2>Имя файла</h2>
|
||||
<p>{{ $document->file_name }}</p>
|
||||
<h2>Описание</h2>
|
||||
<p>{{ $document->description }}</p>
|
||||
<h2>Позиция</h2>
|
||||
<p>{{ $document->position }}</p>
|
||||
<h2>URL</h2>
|
||||
<p>{{ $document->url }}</p>
|
||||
<h2>Экран Приема</h2>
|
||||
<p>{{ $document->admission->name }}</p>
|
||||
</div>
|
||||
@endauth
|
||||
@endsection
|
Loading…
Reference in New Issue