Fix minor bugs
This commit is contained in:
parent
8df825d16a
commit
d9abb7c99f
@ -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);
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user