Fix minor bugs

This commit is contained in:
printempw 2017-06-30 16:36:59 +08:00
parent 8df825d16a
commit d9abb7c99f
2 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,7 @@ $('#login-button').click(function () {
});
// redirect to last requested path
let redirect_to = url(blessing.redirect_to) || "../user";
let redirect_to = url(blessing.redirect_to || "user");
window.setTimeout(() => (window.location = redirect_to), 1000);

View File

@ -81,7 +81,7 @@
<tr>
<td>{{ trans('skinlib.show.uploader') }}</td>
@if ($uploader = app('users')->get($texture->uploader))
<td><a href="{{ url('skinlib?filter='.($texture->type == 'cape' ? 'cape' : 'skin').'&uid='.$uploader->uid) }}&sort=time">{{ $uploader->getNickName() }}</a></td>
<td><a href="{{ url('skinlib?filter='.($texture->type == 'cape' ? 'cape' : 'skin').'&uploader='.$uploader->uid) }}&sort=time">{{ $uploader->getNickName() }}</a></td>
@else
<td><a href="#">{{ trans('general.unexistent-user') }}</a></td>
@endif