Skip to content

Commit

Permalink
Merge pull request #11702 from nanaya/admin-cover-preset
Browse files Browse the repository at this point in the history
Link user cover presets page from admin top page
  • Loading branch information
notbakaneko authored Dec 2, 2024
2 parents aa9fc36 + 07a5636 commit e51e4cc
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
5 changes: 5 additions & 0 deletions resources/lang/en/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@
'beatmapsets' => 'Beatmaps',
'forum' => 'Forum',
'general' => 'General',

'users' => [
'header' => 'User',
'cover_presets' => 'Profile Cover Presets',
],
],
],
],
Expand Down
9 changes: 9 additions & 0 deletions resources/views/admin/pages/root.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,14 @@
</a>
</li>
</ul>

<h2 class="title">{{ osu_trans('admin.pages.root.sections.users.header') }}</h2>
<ul>
<li>
<a href="{{ route('user-cover-presets.store') }}">
{{ osu_trans('admin.pages.root.sections.users.cover_presets') }}
</a>
</li>
</ul>
</div>
@endsection

0 comments on commit e51e4cc

Please sign in to comment.