Changes

Jump to navigation Jump to search
fix status bugs
Line 8: Line 8:  
local statuses = {
 
local statuses = {
 
   ok = "ok",
 
   ok = "ok",
   summary = "optional",
+
   optional = "optional",
 
   unofficial = "unofficial",
 
   unofficial = "unofficial",
 
   workaround = "workaround",
 
   workaround = "workaround",
Line 96: Line 96:  
   -- get background color
 
   -- get background color
 
   local background = '#999'
 
   local background = '#999'
   if status == statuses.ok or status == statuses.optional then
+
   if compat.status == statuses.ok or compat.status == statuses.optional then
 
     background = '#9F9'
 
     background = '#9F9'
   elseif status == statuses.workaround or statuses.unofficial then
+
   elseif compat.status == statuses.workaround or compat.status == statuses.unofficial then
 
     background = '#CF9'
 
     background = '#CF9'
   elseif status == statuses.broken then
+
   elseif compat.status == statuses.broken then
 
     background = '#F99'
 
     background = '#F99'
   elseif status == statuses.obsolete or status == statuses.abandoned then
+
   elseif compat.status == statuses.obsolete or compat.status == statuses.abandoned then
 
     background = '#999'
 
     background = '#999'
 
   end
 
   end
translators
8,404

edits

Navigation menu