Project

General

Profile

metacat / lib / style / common / templates / genericResponse.tmpl @ 1985

1
[% INCLUDE "genericHeader.tmpl" %]
2

    
3
    [% IF status == 'success' %]
4
        <h2>Success</h2>
5
	[% IF function == 'deleted' %]
6
            <p>Your entry has been [% function  %].  Thank you.</p>
7
        [%ELSE%]
8
	    <p>Your entry has been [% function  %].  Thank you.</p>
9
            <p>You can the see the entry by clicking the Search button above. 
10
 <!--       <p>The entry will be reviewed by the [% orgabbrev %] Data Registry
11
            Manager and then will be added to the registry. You
12
            should expect to see the entry within a few days.</p> -->
13
	   
14
        [%END%]
15
    [% ELSE %]
16
        <h2>Failure</h2>
17

    
18
        <p>An error occurred.  Most likely some required fields
19
        were missing.  Please check the list of errors below and
20
        return to the previous form to fill in all required fields 
21
        and submit the form again.</p>
22

    
23
        <ul>
24
        [% FOREACH parameter = invalidParams %]
25
            <li class="emphasis">[% parameter %]</li>
26
        [% END %]
27
        </ul>
28
    
29
        <ul>
30
        [% FOREACH msg = errorMessages %]
31
            <li class="emphasis">[% msg %]</li>
32
        [% END %]
33
        </ul>
34
    [% END %]
35

    
36
    <p>&nbsp;</p>
37
    [% IF function == 'deleted' %]
38
       <p>For a new entry, click on 'Register New Dataset' in the toolbar above.
39
       Otherwise, use the toolbar links above to navigate.</p>
40
    [% ELSE %]
41
       <p>For a new entry, or to make changes to the entry just submitted,
42
       use the return function in your browser to go back.
43
       Otherwise, use the toolbar links above to navigate.</p>
44
    [% END %]
45
[% INCLUDE "genericFooter.tmpl" %]