richer structure in DISABLED

This commit is contained in:
mdipierro
2013-08-09 04:39:01 -05:00
parent c6a3a8f61a
commit a3222f601a
3 changed files with 11 additions and 5 deletions
+1 -1
View File
@@ -494,7 +494,7 @@ def enable():
os.unlink(filename)
return SPAN(T('Disable'), _style='color:green')
else:
safe_open(filename, 'wb').write(time.ctime())
safe_open(filename, 'wb').write('time-disabled: %s' % request.now)
return SPAN(T('Enable'), _style='color:red')