'referee':_("You are a referee for category:")+' '+str(category['name'])+' ('+str(category['id'])+')',
'doctype':doctype['doctype'],
'categ':category['id'],
'ln_link':'&ln='+ln}
out+="</ul><br /></li></ul>"
out+="</td></tr></table>"
out+='''<p>To see the status of documents for which approval has been requested, click <a href=\"%(url)s/publiline.py?flow=cplx\">here</a></p>'''%{'url':CFG_SITE_URL}
returnout
deftmpl_publiline_selectdoctype(self,ln,docs):
"""
Displays the doctypes that the user can select
Parameters:
- 'ln' *string* - The language to display the interface in
- 'docs' *array* - All the doctypes that the user can select:
- 'doctype' *string* - The doctype
- 'docname' *string* - The display name of the doctype
out+=_("It has first been asked for refereing process on the ")+"</td><td>"+' <strong class="headline">'+str(dates['dFirstReq'])+'</strong><br /></td></tr>'
out+="<tr><td width='400px'>"
out+=_("Last request e-mail was sent to the publication committee chair on the ")+"</td><td>"+' <strong class="headline">'+str(dates['dLastReq'])+'</strong><br /></td></tr>'
ifdates['dRefereeSel']!=None:
out+="<tr><td width='400px'>"
out+=_("A referee has been selected by the publication committee on the ")+"</td><td>"+' <strong class="headline">'+str(dates['dRefereeSel'])+'</strong><br /></td></tr>'
else:
out+="<tr><td width='400px'>"
out+=_("No referee has been selected yet.")+"</td><td>"
if(status!="cancelled")and(isPubCom==0):
out+=displaycplxdoc_displayauthaction(action="RefereeSel",linkText=_("Select a referee"))
out+='<br /></td></tr>'
ifdates['dRefereeRecom']!=None:
out+="<tr><td width='400px'>"
out+=_("The referee has sent his final recommendations to the publication committee on the ")+"</td><td>"+' <strong class="headline">'+str(dates['dRefereeRecom'])+'</strong><br /></td></tr>'
else:
out+="<tr><td width='400px'>"
out+=_("No recommendation from the referee yet.")+"</td><td>"
out+=displaycplxdoc_displayauthaction(action="RefereeRecom",linkText=_("Send a recommendation"))
out+='<br /></td></tr>'
ifdates['dPubComRecom']!=None:
out+="<tr><td width='400px'>"
out+=_("The publication committee has sent his final recommendations to the project leader on the ")+"</td><td>"+' <strong class="headline">'+str(dates['dPubComRecom'])+'</strong><br /></td></tr>'
else:
out+="<tr><td width='400px'>"
out+=_("No recommendation from the publication committee yet.")+"</td><td>"
out+=displaycplxdoc_displayauthaction(action="PubComRecom",linkText=_("Send a recommendation"))
out+='<br /></td></tr>'
ifstatus=="cancelled":
out+="<tr><td width='400px'>"
out+=_("It has been cancelled by the author on the ")+"</td><td>"+' <strong class="headline">'+str(dates['dProjectLeaderAction'])+'</strong><br /></td></tr>'
elifdates['dProjectLeaderAction']!=None:
ifstatus=="approved":
out+="<tr><td width='400px'>"
out+=_("It has been approved by the project leader on the ")+"</td><td>"+' <strong class="headline">'+str(dates['dProjectLeaderAction'])+'</strong><br /></td></tr>'
elifstatus=="rejected":
out+="<tr><td width='400px'>"
out+=_("It has been rejected by the project leader on the ")+"</td><td>"+' <strong class="headline">'+str(dates['dProjectLeaderAction'])+'</strong><br /></td></tr>'
else:
out+="<tr><td width='400px'>"
out+=_("No final decision taken yet.")+"</td><td>"
out+=_("It has first been asked for refereing process on the ")+' <strong class="headline">'+str(dates['dFirstReq'])+'</strong><br />'
out+=_("Last request e-mail was sent to the publication committee chair on the ")+' <strong class="headline">'+str(dates['dLastReq'])+'</strong><br />'
ifdates['dEdBoardSel']!=None:
out+=_("An editorial board has been selected by the publication committee on the ")+' <strong class="headline">'+str(dates['dEdBoardSel'])+'</strong>'
if(status!="cancelled")and(isEdBoard==0):
out+=displaycplxdoc_displayauthaction(action="AddAuthorList",linkText=_("Add an author list"))
out+='<br />'
else:
out+=_("No editorial board has been selected yet.")
if(status!="cancelled")and(isPubCom==0):
out+=displaycplxdoc_displayauthaction(action="EdBoardSel",linkText=_("Select an editorial board"))
out+='<br />'
ifdates['dRefereeSel']!=None:
out+=_("A referee has been selected by the editorial board on the ")+' <strong class="headline">'+str(dates['dRefereeSel'])+'</strong><br />'
out+=displaycplxdoc_displayauthaction(action="RefereeSel",linkText=_("Select a referee"))
out+='<br />'
ifdates['dRefereeRecom']!=None:
out+=_("The referee has sent his final recommendations to the editorial board on the ")+' <strong class="headline">'+str(dates['dRefereeRecom'])+'</strong><br />'
out+=displaycplxdoc_displayauthaction(action="RefereeRecom",linkText=_("Send a recommendation"))
out+='<br />'
ifdates['dEdBoardRecom']!=None:
out+=_("The editorial board has sent his final recommendations to the publication committee on the ")+' <strong class="headline">'+str(dates['dRefereeRecom'])+'</strong><br />'
else:
out+=_("No recommendation from the editorial board yet.")
out+=displaycplxdoc_displayauthaction(action="EdBoardRecom",linkText=_("Send a recommendation"))
out+='<br />'
ifdates['dPubComRecom']!=None:
out+=_("The publication committee has sent his final recommendations to the project leader on the ")+' <strong class="headline">'+str(dates['dPubComRecom'])+'</strong><br />'
else:
out+=_("No recommendation from the publication committee yet.")