@@ -104,7 +104,11 @@ const app = Vue.createApp({
104104 } else {
105105 // no need after ver.1.1.5 query update
106106 //if (this.search_by !== "log_lines") {
107- $ ( '#text_search' ) . css ( 'color' , 'initial' ) ;
107+ if ( this . settings . dark ) {
108+ $ ( '#text_search' ) . css ( 'color' , 'white' ) ;
109+ } else {
110+ $ ( '#text_search' ) . css ( 'color' , 'initial' ) ;
111+ }
108112 if ( this . settings . filters ) {
109113 this . saveFilters ( ) ;
110114 } else {
@@ -361,7 +365,6 @@ const app = Vue.createApp({
361365 return string ;
362366 }
363367 } ,
364- // TODO refactor messages based on locale and new functions
365368 addFilterLink ( element ) {
366369 $td = element . find ( 'td' ) ;
367370 if ( this . localeData . filters . filter_link_tip == undefined ) {
@@ -793,8 +796,25 @@ const app = Vue.createApp({
793796 $ ( 'body' ) . addClass ( 'scrolling' ) ;
794797 // apply styling to modal
795798 this . $nextTick ( function ( ) {
799+
796800 $ ( '#mail-modal > div.header > span > i' ) . remove ( ) ;
797801 $ ( '#mail-modal > div.header > span' ) . prepend ( this . settings . status_icon [ m . status . code ] ) ;
802+ // TLS encryption logo and title
803+ if ( $ ( '#mail-modal > div.content > ul' ) . text ( ) . indexOf ( "TLS" ) >= 0 ) {
804+ if ( this . localeData . emails_list . status_tls == undefined ) {
805+ text = this . fallbackLocaleData . emails_list . status_tls
806+ } else {
807+ text = this . localeData . emails_list . status_tls
808+ }
809+ $ ( '#mail-modal > div.header > span' ) . prepend ( " " ) . prepend ( this . settings . status_icon [ "tls" ] ) . attr ( 'title' , text ) ;
810+ } else {
811+ if ( this . localeData . emails_list . status_notls == undefined ) {
812+ text = this . fallbackLocaleData . emails_list . status_notls
813+ } else {
814+ text = this . localeData . emails_list . status_notls
815+ }
816+ $ ( '#mail-modal > div.header > span' ) . prepend ( " " ) . prepend ( this . settings . status_icon [ "no_tls" ] ) . attr ( 'title' , text ) ;
817+ }
798818 if ( this . settings . colored ) {
799819
800820 /*$('#email-metadata td:contains("'+m.status.code+'")').css('background-color',this.settings.status_color[m.status.code].slice(0, -2) + '.4)');
0 commit comments