* added more specific information to a log message
* added the name of the current template to the footer * added the name of the possibly broken themplate causing invalid message handling
This commit is contained in:
parent
6ad1523510
commit
6984bc8841
|
@ -66,7 +66,8 @@ class volume_mount(cryptobox.plugins.base.CryptoBoxPlugin):
|
|||
return "volume_status"
|
||||
if self.container.get_type() != cbxContainer.CONTAINERTYPES["plain"]:
|
||||
## not a plain container
|
||||
self.cbox.log.info("plugin 'volume_mount' - invalid container type")
|
||||
self.cbox.log.info("plugin 'volume_mount' - invalid container "
|
||||
+ "type: %s" % str(self.container.get_type()))
|
||||
self.hdf["Data.Warning"] = "Plugins.volume_mount.InvalidContainerType"
|
||||
return "volume_status"
|
||||
try:
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
Settings.Language=<?cs var:html_escape(Settings.Language) ?>
|
||||
Data.Version=<?cs var:html_escape(Data.Version) ?>
|
||||
Data.ScriptURL=<?cs var:html_escape(Data.ScriptURL) ?>
|
||||
Settings.TemplateFile=<?cs var:html_escape(Settings.TemplateFile) ?>
|
||||
<?cs each:x = Data.Status.Plugins ?>Data.Status.Plugins.<?cs
|
||||
var:name(x) ?>=<?cs var: html_escape(x) ?>
|
||||
<?cs /each
|
||||
|
@ -36,7 +37,7 @@ Data.ScriptURL=<?cs var:html_escape(Data.ScriptURL) ?>
|
|||
<!-- $Revision$ -->
|
||||
|
||||
<?cs # check, if the macro 'handle_messages' was called before - otherwise place a warning ?>
|
||||
<?cs if:!messages_are_handled ?>MESSAGES WERE NOT HANDLED PROPERLY - PLEASE FIX THIS!<?cs /if ?>
|
||||
<?cs if:!messages_are_handled ?>MESSAGES WERE NOT HANDLED PROPERLY - PLEASE FIX THIS!<br/>Maybe check template file '<?cs var:html_escape(Settings.TemplateFile) ?>.<?cs /if ?>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -17,3 +17,4 @@
|
|||
|
||||
|
||||
<?cs include:Settings.TemplateDir + '/footer.cs' ?>
|
||||
|
||||
|
|
Loading…
Reference in New Issue