'ifnot' template property + hpp
This commit is contained in:
@@ -64,7 +64,6 @@ function check_dependencies(packinfo)
|
||||
local depid = dep:sub(2,-1)
|
||||
if dep:sub(1,1) == '!' then
|
||||
if not table.has(packs_all, depid) then
|
||||
packinfo.description = ""
|
||||
return string.format(
|
||||
"%s (%s)", gui.str("error.dependency-not-found"), depid
|
||||
)
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
%{creator}
|
||||
</label>
|
||||
<label if='%{error}' pos='80,28' size='355,50' multiline='true' color='#FF4040'>%{error}</label>
|
||||
<label pos='80,28' size='355,50' multiline='true' color='#FFFFFFB2'>
|
||||
<label ifnot='%{error}' pos='80,28' size='355,50' multiline='true' color='#FFFFFFB2'>
|
||||
%{description}
|
||||
</label>
|
||||
<image pos='8,8' src='%{icon}' size='64'/>
|
||||
|
||||
Reference in New Issue
Block a user