Merge pull request #1408 from pixelfed/frontend-ui-refactor

Fixes #1407
pull/1448/head
daniel 2019-06-16 18:02:43 -06:00 zatwierdzone przez GitHub
commit fc66feaf6b
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
2 zmienionych plików z 7 dodań i 1 usunięć

Wyświetl plik

@ -147,9 +147,10 @@ trait HomeSettings
$log->save();
return redirect('/settings/home')->with('status', 'Password successfully updated!');
} else {
return redirect()->back()->with('error', 'There was an error with your request! Please try again.');
}
return redirect('/settings/home')->with('error', 'There was an error with your request!');
}
public function email()

Wyświetl plik

@ -13,6 +13,11 @@
@endforeach
</div>
@endif
@if (session('error'))
<div class="alert alert-danger px-3 h6 text-center">
{{ session('error') }}
</div>
@endif
<div class="container">
<div class="col-12">