[% META title="Restore point" next_template = 'update.tt' level = 20 %] [% id = q.param('id') %] [% UNLESS id; THROW 'validate' 'Id missing'; END %] [% hidden('id', id) %] [% time = date(q.param('time')) %] [% hidden('time',q.param('time')) %] [% args = {arc_active_on_date=time} %] [% node = get(id) %]

Restore [% node.sysdesig(undef,args) | html %] at [% time.sysdesig %]

Restores from the selected point in time

Rel pred value [% FOREACH arc IN node.arc_list(undef,undef,args) %]
[% arc.wu_jump(label=arc.id) %] [% arc.pred.wu_jump(label=arc.pred.label) %] [% IF arc.objtype %] [% jump(arc.obj.sysdesig(args), 'update.tt', id=arc.obj.id) %] [% ELSIF arc.value_node %] [% jump(arc.value.sysdesig(args), 'update.tt', id=arc.value_node.id) %] [% ELSE %] [% arc.value.sysdesig(args) | html %] [% END %] [% END %]
Rev Node Pred [% FOREACH arc IN node.revarc_list(undef,undef,args) %]
[% arc.wu_jump(label=arc.id) %] [% jump(arc.subj.sysdesig(args), 'update.tt', id=arc.subj.id) %] [% arc.pred.wu_jump(label=arc.pred.label) %] [% END %]

[% go("Restore", 'update.tt', "node_restore") %]