prodV1 #2

Open
RomanGolienko wants to merge 309 commits from prodV1 into main
3 changed files with 23 additions and 0 deletions
Showing only changes of commit 5a462a0823 - Show all commits

View File

@ -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>

View File

@ -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>

View File

@ -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