Changeset 0a4b4c in indico


Ignore:
Timestamp:
05/11/10 19:53:12 (3 years ago)
Author:
Jose Benito <jose.benito.gonzalez@…>
Branches:
master, burotel, hello-world-walkthrough, ipv6, new-webex, v0.97-series, v0.98-series, v0.98.2, v0.98.3, v0.98b1, v0.98b2, v0.99, 051b2622c51afb171a1dedb46a0df4fbb0cbd02e, 0da0c1403bae8e51d8229f460181c71b9e6dda72
Children:
9d6eb3
Parents:
48a9df
git-author:
Ian Rolewicz <ian.rolewicz@…> (04/28/10 09:03:39)
git-committer:
Jose Benito <jose.benito.gonzalez@…> (05/11/10 19:53:12)
Message:

[IMP] Improvements on list of all abstract authors

  • fixes #378
  • Side Menus and Headers for conference managment are now available when showing the list of authors of abstracts
  • New format of names in the list (changed from "Title NAME, First Name <email>" to "Title First Name NAME <email>"
  • 'send' is replaced by 'compose email'
  • changed the style of the title
Location:
indico
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • indico/MaKaC/webinterface/pages/conferences.py

    r8b64ae r0a4b4c  
    73047304 
    73057305 
    7306 class WPConfParticipantList( WPConferenceBase ): 
     7306class WPConfParticipantList( WPConfAbstractList ): 
    73077307 
    73087308    def __init__(self, rh, conf, emailList, displayedGroups, abstracts): 
    7309         WPConferenceBase.__init__(self, rh, conf) 
     7309        WPConfAbstractList.__init__(self, rh, conf, None) 
    73107310        self._emailList = emailList 
    73117311        self._displayedGroups = displayedGroups 
    73127312        self._abstracts = abstracts 
    73137313 
    7314     def _getBody( self, params ): 
    7315         WPConferenceBase._getBody(self, params) 
     7314    def _getTabContent( self, params ): 
    73167315        wc = WAbstractsParticipantList(self._conf, self._emailList, self._displayedGroups, self._abstracts) 
    73177316        return wc.getHTML() 
     
    84748473                else: 
    84758474                    color="white" 
    8476                 participant = "%s <%s>"%(subm.getFullName(), subm.getEmail()) 
     8475                participant = "%s %s %s <%s>"%(subm.getTitle(), subm.getFirstName(), subm.getFamilyName().upper(), subm.getEmail()) 
    84778476                l.append("<tr>\ 
    84788477                        <td colspan=\"2\" nowrap bgcolor=\"%s\" class=\"blacktext\">\ 
     
    85988597                else: 
    85998598                    color="white" 
    8600                 participant = "%s <%s>"%(pAuth.getFullName(), pAuth.getEmail()) 
     8599                participant = "%s %s %s <%s>"%(pAuth.getTitle(), pAuth.getFirstName(), pAuth.getFamilyName().upper(), pAuth.getEmail()) 
    86018600                l.append("<tr><td colspan=\"2\" nowrap bgcolor=\"%s\" \ 
    86028601                        class=\"blacktext\">&nbsp;&nbsp;&nbsp;%s</td></tr>"%(color, self.htmlText(participant))) 
     
    86238622                cAuthEmail = cAuth.getEmail() 
    86248623                if cAuthEmail.strip() == "": 
    8625                     participant = "%s"%cAuth.getFullName() 
     8624                    participant = "%s %s %s"%(cAuth.getTitle(), cAuth.getFirstName(), cAuth.getFamilyName().upper()) 
    86268625                else: 
    8627                     participant = "%s <%s>"%(cAuth.getFullName(), cAuthEmail) 
     8626                    participant = "%s %s %s <%s>"%(cAuth.getTitle(), cAuth.getFirstName(), cAuth.getFamilyName().upper(), cAuthEmail) 
    86288627                l.append("<tr><td colspan=\"2\" nowrap bgcolor=\"%s\" class=\"blacktext\">\ 
    86298628                        &nbsp;&nbsp;&nbsp;%s</td></tr>"%(color, self.htmlText(participant))) 
  • indico/MaKaC/webinterface/tpls/AbstractsParticipantList.tpl

    r9033fd r0a4b4c  
    11 
    2 <table align="center" width="75%%"> 
     2<table align="center" width="100%%"> 
    33    <tr> 
    4        <td class="formTitle"> <%= _("List of participants")%></td> 
     4       <td class="groupTitle"> <%= _("List of participants")%></td> 
    55    </tr> 
    66        <tr> 
    77                <td> 
    88                        <br> 
    9                                 <table width="100%%" align="center" border="0" style="border-left: 1px solid #777777"> 
     9                                <table width="100%%" align="center" border="0"> 
    1010                                        <tr> 
    11                                                 <td colspan="2" class="groupTitle" width="100%%"> <%= _("Submitters")%></td> 
     11                                                <td colspan="2" class="groupSubTitle" width="100%%"> <%= _("Submitters")%></td> 
    1212                                        </tr> 
    1313                                        <tr> 
     
    1919                                                <td align="right" valign="top"> 
    2020                                                        <form action="mailto:%(submitterEmails)s" method="POST" enctype="text/plain"> 
    21                                                                 <input type="submit" class="btn" value="<%= _("send")%>"> 
     21                                                                <input type="submit" class="btn" value="<%= _("compose email")%>"> 
    2222                                                        </form> 
    2323                                                        %(showSubmitters)s 
     
    3030                <td> 
    3131                        <br> 
    32                     <table width="100%%" align="center" border="0" style="border-left: 1px solid #777777"> 
     32                    <table width="100%%" align="center" border="0"> 
    3333                            <tr> 
    34                                                 <td colspan="2" class="groupTitle" width="100%%"> <%= _("Primary authors")%></td> 
     34                                                <td colspan="2" class="groupSubTitle" width="100%%"> <%= _("Primary authors")%></td> 
    3535                                        </tr> 
    3636                                        <tr> 
     
    4242                                                <td align="right" valign="top"> 
    4343                                                        <form action="mailto:%(primaryAuthorEmails)s" method="POST" enctype="text/plain"> 
    44                                                                 <input type="submit" class="btn" value="<%= _("send")%>"> 
     44                                                                <input type="submit" class="btn" value="<%= _("compose email")%>"> 
    4545                                                        </form> 
    4646                                                        %(showPrimaryAuthors)s 
     
    5353                <td> 
    5454                        <br> 
    55                     <table width="100%%" align="center" border="0" style="border-left: 1px solid #777777"> 
     55                    <table width="100%%" align="center" border="0"> 
    5656                            <tr> 
    57                                                 <td colspan="2" class="groupTitle" width="100%%"> <%= _("Co-Authors")%></td> 
     57                                                <td colspan="2" class="groupSubTitle" width="100%%"> <%= _("Co-Authors")%></td> 
    5858                                        </tr> 
    5959                                        <tr> 
     
    6565                                                <td align="right" valign="top"> 
    6666                                                        <form action="mailto:%(coAuthorEmails)s" method="POST" enctype="text/plain"> 
    67                                                                 <input type="submit" class="btn" value="<%= _("send")%>"> 
     67                                                                <input type="submit" class="btn" value="<%= _("compose email")%>"> 
    6868                                                        </form> 
    6969                                                        %(showCoAuthors)s 
  • indico/htdocs/abstractsManagment.py

    r281d39 r0a4b4c  
    3030def newAbstract( req, **params ): 
    3131    return conferenceModif.RHNewAbstract( req ).process( params ) 
     32 
     33def participantList( req, **params ): 
     34    return conferenceModif.RHAbstractsParticipantList( req ).process( params ) 
  • indico/htdocs/css/Default.css

    r4efd00 r0a4b4c  
    898898} 
    899899 
    900 .groupTitle, .groupTitleNoBorder { 
     900.groupTitle, .groupTitleNoBorder, .groupSubTitle { 
    901901   font-family: "Times New Roman", Verdana, Arial; 
    902902   font-size: 24px; 
     
    910910.groupTitleNoBorder { 
    911911   border-bottom: none; 
     912} 
     913 
     914.groupSubTitle { 
     915    font-size: 20px; 
    912916} 
    913917 
Note: See TracChangeset for help on using the changeset viewer.