Editor Tools Notifications (bug 640088)
This commit is contained in:
Родитель
ac3635481e
Коммит
b306ca6818
|
@ -240,7 +240,7 @@ def review(request, version_id):
|
||||||
|
|
||||||
if request.method == 'POST' and form.is_valid():
|
if request.method == 'POST' and form.is_valid():
|
||||||
form.helper.process()
|
form.helper.process()
|
||||||
amo.messages.info(request, _('Review successfully processed.'))
|
amo.messages.success(request, _('Review successfully processed.'))
|
||||||
return redirect(redirect_url)
|
return redirect(redirect_url)
|
||||||
|
|
||||||
canned = CannedResponse.objects.all()
|
canned = CannedResponse.objects.all()
|
||||||
|
|
|
@ -2495,6 +2495,16 @@ form .error .note.error {
|
||||||
left: auto;
|
left: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.notification-box.warning {
|
||||||
|
background-color: #FD9;
|
||||||
|
color: #444;
|
||||||
|
border: 3px solid #550b00;
|
||||||
|
}
|
||||||
|
|
||||||
|
.notification-box.warning:before {
|
||||||
|
background-position: 0 -225px;
|
||||||
|
}
|
||||||
|
|
||||||
.notification-box.error {
|
.notification-box.error {
|
||||||
background-color: #FFA5A5;
|
background-color: #FFA5A5;
|
||||||
color: #444;
|
color: #444;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче