source: trunk/templates/finaldelete.tmpl@ 651

Last change on this file since 651 was 651, checked in by Kris Deugau, 9 years ago

/trunk

Tweak delete result page to include block type in case of confusing
allocation structures

File size: 1.7 KB
Line 
1<div class="center">
2<TMPL_IF failmsg>
3<p>Could not deallocate <TMPL_IF netblock>netblock<TMPL_ELSE>static IP</TMPL_IF> <TMPL_VAR NAME=block>: <TMPL_VAR NAME=failmsg></p>
4<input type="button" value="Back" onclick="history.go(-1)">
5<TMPL_ELSE>
6<div class="heading">Success! <TMPL_VAR NAME=block><TMPL_IF bdisp> (<TMPL_VAR bdisp>)</TMPL_IF>
7deallocated.</div>
8<TMPL_IF genwarn><br><div><TMPL_VAR NAME=genwarn></div></TMPL_IF>
9<TMPL_IF parent_id><br><div>
10Warning:
11<TMPL_IF mergeip>IPs in <TMPL_VAR NAME=block> were released as available static IPs in <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=listpool&amp;pool=<TMPL_VAR NAME=parent_id>"><TMPL_VAR NAME=parent></a>,<br>
12not released for general netblock assignment under
13<a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=showsubs&amp;parent=<TMPL_VAR NAME=delparent_id>"><TMPL_VAR NAME=delparent></a>.
14<TMPL_ELSE>
15<TMPL_VAR NAME=block> was released as free and merged with blocks under <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=showsubs&amp;parent=<TMPL_VAR NAME=parent_id>"><TMPL_VAR NAME=parent></a>,
16not <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=showsubs&amp;parent=<TMPL_VAR NAME=delparent_id>"><TMPL_VAR NAME=delparent></a>.
17</TMPL_IF>
18</div>
19<TMPL_ELSE>
20<TMPL_IF delparent_id>
21<TMPL_IF returnpool>
22<div>Return to <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=listpool&amp;pool=<TMPL_VAR NAME=delparent_id>"><TMPL_VAR NAME=delparent></a></div>
23<TMPL_ELSE>
24<div>Return to <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=showsubs&amp;parent=<TMPL_VAR NAME=delparent_id>"><TMPL_VAR NAME=delparent><TMPL_IF pdisp> (<TMPL_VAR NAME=pdisp>)</TMPL_IF></a></div>
25</TMPL_IF>
26</TMPL_IF>
27</TMPL_IF>
28</TMPL_IF>
29</div>
30
Note: See TracBrowser for help on using the repository browser.