Ignore:
Timestamp:
02/06/10 22:40:12 (10 years ago)
Author:
astephen
Message:

fixing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cows_wps/trunk/cows_wps/controllers/jobviewer.py

    r6910 r6923  
    3535    def index(self): 
    3636        status_url = str(request.params.getone("status_url")) 
    37 #        job_id = str(request.params.getone("job_id")) 
    3837        getter = urllib.urlopen(status_url) 
    3938        job_xml = getter.read() 
     
    121120 
    122121        resp = "<h2>DETAILS</h2>" 
    123         resp += "Need to realise that in costonly response we have JobCompletionTimeDate empty because it hasn't run yet!<br><br>" 
    124122 
    125123        self.job_id = job_details.find("{" + self.namespace + "}JobID").text 
     
    135133        if self.status == "complete": 
    136134 
    137             resp += "<h2>OUTPUTS</h2>The following file outputs are available from your job.<br>" 
     135            resp += "<h2>OUTPUT FILES</h2>" 
     136 
     137            if len(file_set_list) > 0: 
     138                resp += "The following file outputs are available from your job.<br>" 
     139            else: 
     140                resp += 'There are no output files associated with your job. Please click the "View as XML" link above to view your output.<br>' 
     141 
    138142            for fnode in file_set_list: 
    139143 
Note: See TracChangeset for help on using the changeset viewer.