mirror of
https://github.com/flarum/framework.git
synced 2024-12-01 14:20:47 +08:00
6d5582e4ac
- Extracts translations from `reset.blade.php`. - Adjusts namespacing of translations in other files. - Fixes one direct reference to a `core.ref` key.
21 lines
669 B
PHP
21 lines
669 B
PHP
<?php
|
|
$url = app('Flarum\Forum\UrlGenerator');
|
|
?>
|
|
<div class="container">
|
|
<h2>{{ $translator->trans('core.views.index.all_discussions_heading') }}</h2>
|
|
|
|
<ul>
|
|
@foreach ($document->data as $discussion)
|
|
<li>
|
|
<a href="{{ $url->toRoute('discussion', [
|
|
'id' => $discussion->id . '-' . $discussion->attributes->slug
|
|
]) }}">
|
|
{{ $discussion->attributes->title }}
|
|
</a>
|
|
</li>
|
|
@endforeach
|
|
</ul>
|
|
|
|
<a href="{{ $url->toRoute('index') }}?page={{ $page + 1 }}">{{ $translator->trans('core.views.index.next_page_button') }} »</a>
|
|
</div>
|