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:
Manish Verma
2018-10-12 15:51:15 +05:30
committed by Manish Verma
parent ac4e053c2d
commit 6a3d093b4c
12 changed files with 33 additions and 13 deletions

View File

@@ -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>");

View File

@@ -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>");

View File

@@ -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">&times;</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">&times;</button>
<b>{!! Lang::get('lang.alert') !!} !</b><br/>