Fixed outgoing mails disabled issue
Fixed language Fixed languag and email create/edit issue v1.10.2 build updates Fixed codacy issues
This commit is contained in:

committed by
Manish Verma

parent
ac4e053c2d
commit
6a3d093b4c
@@ -277,7 +277,7 @@ class="active"
|
||||
console.log(json);
|
||||
$("#close").trigger("click");
|
||||
var res = "";
|
||||
$.each(json.responseJSON, function (idx, topic) {
|
||||
$.each(json.responseJSON.errors, function (idx, topic) {
|
||||
res += "<li>" + topic + "</li>";
|
||||
});
|
||||
$("#head").html("<div class='alert alert-danger'><strong>Whoops!</strong> There were some problems with your input.<br><br><ul>" + res + "</ul></div>");
|
||||
|
@@ -307,7 +307,7 @@ class="active"
|
||||
error: function (json) {
|
||||
$("#close").trigger("click");
|
||||
var res = "";
|
||||
$.each(json.responseJSON, function (idx, topic) {
|
||||
$.each(json.responseJSON.errors, function (idx, topic) {
|
||||
res += "<li>" + topic + "</li>";
|
||||
});
|
||||
$("#head").html("<div class='alert alert-danger'><strong>Whoops!</strong> There were some problems with your input.<br><br><ul>" + res + "</ul></div>");
|
||||
|
@@ -29,7 +29,7 @@ class="active"
|
||||
<h4 class="box-title">{{Lang::get('lang.send-mail-to-diagnos')}}</h4>
|
||||
</div>
|
||||
<div class="box-body">
|
||||
@if(Session::has('success'))
|
||||
@if(Session::has('success') && !Session::has('fails'))
|
||||
<div class="alert alert-success alert-dismissable">
|
||||
<i class="fa fa-check-circle"></i>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
@@ -38,7 +38,7 @@ class="active"
|
||||
@endif
|
||||
<!-- failure message -->
|
||||
@if(Session::has('fails'))
|
||||
<div class="alert alert-danger alert-dismissable">
|
||||
<div class="alert alert-warning alert-dismissable">
|
||||
<i class="fa fa-ban"></i>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
<b>{!! Lang::get('lang.alert') !!} !</b><br/>
|
||||
|
Reference in New Issue
Block a user