File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ var FuzzySort = require("fuzzysort");
55var Moment = require ( "moment" ) ;
66var SearchInterface = require ( "./searchinterface" ) ;
77
8+ const LATEST_NATIVE_APP_VERSION = 3000002 ;
9+
810/**
911 * Popup main interface
1012 *
@@ -110,6 +112,22 @@ function view(ctl, params) {
110112 )
111113 ) ;
112114
115+ if ( this . settings . version < LATEST_NATIVE_APP_VERSION ) {
116+ nodes . push (
117+ m ( "div.updates" , [
118+ m ( "span" , "Update native host app: " ) ,
119+ m (
120+ "a" ,
121+ {
122+ href : "https://github.com/browserpass/browserpass-native#installation" ,
123+ target : "_blank"
124+ } ,
125+ "instructions"
126+ )
127+ ] )
128+ ) ;
129+ }
130+
113131 return nodes ;
114132}
115133
Original file line number Diff line number Diff line change @@ -223,3 +223,13 @@ body {
223223 color : @match-text-color ;
224224 font-style : normal ;
225225}
226+
227+ .updates {
228+ padding : @login-part-padding ;
229+ border-top : 1px solid @hover-bg-color ;
230+
231+ span ,
232+ a {
233+ color : @error-text-color ;
234+ }
235+ }
You can’t perform that action at this time.
0 commit comments