Add release note page
This commit is contained in:
parent
8a240d0533
commit
0880e1e51e
@ -34,6 +34,9 @@ updates:
|
||||
text: Blessing Skin Server has been successfully updated to v:version.
|
||||
tips: "Update Tips:"
|
||||
|
||||
changelog:
|
||||
title: Release Note
|
||||
|
||||
wizard:
|
||||
master:
|
||||
title: Install Wizard - Blessing Skin Server
|
||||
|
@ -33,6 +33,9 @@ updates:
|
||||
text: 数据库升级成功,欢迎使用 Blessing Skin Server v:version!
|
||||
tips: 升级提示:
|
||||
|
||||
changelog:
|
||||
title: 更新日志
|
||||
|
||||
wizard:
|
||||
master:
|
||||
title: Blessing Skin Server 安装程序
|
||||
|
16
resources/views/setup/updates/changelog.blade.php
Normal file
16
resources/views/setup/updates/changelog.blade.php
Normal file
@ -0,0 +1,16 @@
|
||||
@extends('setup.updates.master')
|
||||
|
||||
@section('content')
|
||||
<h1>
|
||||
@lang('setup.updates.changelog.title')
|
||||
@include('setup.wizard.language')
|
||||
</h1>
|
||||
|
||||
{!! app('parsedown')->text(
|
||||
@file_get_contents(resource_path('misc/changelogs/'.app()->getLocale().'/'.config('app.version').'.md'))
|
||||
) !!}
|
||||
|
||||
<p class="step">
|
||||
<a href="{{ url('/') }}" class="button button-large">@lang('general.index')</a>
|
||||
</p>
|
||||
@endsection
|
@ -11,10 +11,20 @@
|
||||
|
||||
<body class="container">
|
||||
<p id="logo">
|
||||
<a href="https://github.com/bs-community/blessing-skin-server" tabindex="-1">Blessing Skin Server</a>
|
||||
<a href="https://github.com/bs-community/blessing-skin-server" tabindex="-1">
|
||||
{{ option_localized('site_name') }}
|
||||
</a>
|
||||
</p>
|
||||
|
||||
@yield('content')
|
||||
|
||||
<script>
|
||||
function refreshWithLangPrefer() {
|
||||
var e = document.getElementById("language-chooser");
|
||||
var lang = e.options[e.selectedIndex].value;
|
||||
|
||||
window.location = "?lang="+lang;
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -19,6 +19,6 @@
|
||||
@endif
|
||||
|
||||
<p class="step">
|
||||
<a href="{{ url('/') }}" class="button button-large">@lang('general.index')</a>
|
||||
<a href="{{ url('/setup/changelog') }}" class="button button-large">@lang('setup.updates.welcome.button')</a>
|
||||
</p>
|
||||
@endsection
|
||||
|
@ -23,3 +23,4 @@ Route::group(['middleware' => 'setup'], function () {
|
||||
|
||||
Route::get('/update', 'SetupController@update');
|
||||
Route::post('/update', 'SetupController@doUpdate');
|
||||
Route::view('/changelog', 'setup.updates.changelog');
|
||||
|
Loading…
Reference in New Issue
Block a user