[% META title="Radera nod" next_template = 'update.tt' next_action = 'arc_delete' level = 20 %] [% id = q.param('id') %] [% UNLESS id; THROW 'validate' 'Id missing'; END %] [% hidden('id', id) %] [% node = get(id) %]

Removes the selected arcs that has this node as it's subject

[% FOREACH pred = node.list_preds(undef, [['not_old','explicit']]).sorted %] [% FOREACH arc = node.arc_list(pred,undef,[['not_old','explicit']]) %] [% IF arc.active %] [% ELSE %] [% END %] [% IF arc.is_removal %] [% ELSE %] [% END %] [% IF loop.index % 100; CALL req.may_yield; END %] [% END %] [% END %]
Delete [% node.sysdesig | html %]
DelProperty Value Status
[% checkbox('arc_delete', arc.id, 1) %] [% pred.plain %] [% arc.replaces.value_sysdesig %] [% arc.value_sysdesig %][% jump(arc.view_flags, 'arc/update.tt', id=arc.id) %]

[% FOREACH pred = node.revlist_preds(undef, [['not_old','explicit']]).sorted %] [% FOREACH arc = node.revarc_list(pred, undef, [['not_old','explicit']]) %] [% IF arc.active %] [% ELSE %] [% END %] [% IF arc.is_removal %] [% ELSE %] [% END %] [% IF loop.index % 100; CALL req.may_yield; END %] [% END %] [% END %]
DelValue Property Status
[% checkbox('arc_delete', arc.id, 1) %] [% arc.replaces.subj.sysdesig %] [% arc.subj.sysdesig %][% pred.plain %] [% jump(arc.view_flags, 'arc/update.tt', id=arc.id) %]
[% hidden('force',0) %] [% go("HARD Delete", me, 'arc_delete', force=1, tag_attr={class="btn btn-default btn-danger"}) %] [% step('Delete', tag_attr={class="btn btn-default btn-danger"}) %]