update php inline, add convenience nav buttons, add time to latest out page
This commit is contained in:
@@ -217,7 +217,15 @@ class v1 {
|
||||
return _flitter.error(res, 500, {reason: 'Unable to parse output data. Data contains invalid JSON.'})
|
||||
}
|
||||
|
||||
return _flitter.view(res, 'dash_v1:out', {project, user: req.session.auth.user, out, prettyd:pretty, show_back: true, title: 'Latest output: '+out.brief, title_small: true });
|
||||
return _flitter.view(res, 'dash_v1:out', {
|
||||
project,
|
||||
user: req.session.auth.user,
|
||||
out,
|
||||
prettyd:pretty,
|
||||
show_back: true,
|
||||
title: `Latest output: ${out.brief} <small>(${out.created.toLocaleString({timeZone: 'America/Chicago'})})</small>`,
|
||||
title_small: true
|
||||
});
|
||||
}
|
||||
|
||||
async out_delete(req, res, next){
|
||||
|
||||
Reference in New Issue
Block a user