Project

General

Profile

« Previous | Next » 

Revision 2346

Added by sgarg almost 20 years ago

Added code to fix bug# 1344. Response template is called when cancel delete is pressed

View differences:

lib/style/common/templates/genericResponse.tmpl
14 14
	   
15 15
        [%END%]
16 16
    [% ELSE %]
17
    [%  IF function == 'cancel' %]
18

  
19
    [% ELSE %]
17 20
        <h2>Failure</h2>
18 21
        
19 22
	<p>An error occurred.  Most likely some required fields
......
33 36
        [% END %]
34 37
        </ul>
35 38
    [% END %]
39
    [% END %]
36 40

  
37 41
    <p>&nbsp;</p>
38
    [% IF function == 'deleted' %]
42
    [% IF function == 'deleted' || function == 'cancel' %]
39 43
       <p>For a new entry, click on 'Register New Dataset' in the toolbar above.
40 44
       Otherwise, use the toolbar links above to navigate.</p>
41 45
    [% ELSE %]

Also available in: Unified diff