Changeset 1418


Ignore:
Timestamp:
Jan 4, 2014, 2:42:21 AM (4 years ago)
Author:
dkg
Message:

clean up presentation of linked workshop

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/jpdd/class.jpdd.proposal.php

    r1412 r1418  
    164164        $workshops = $this->getAssociatedWorkshops();
    165165        if (count($workshops)) {
    166           $ret .= "<div>Workshops based on this proposal:<ul>";
     166          $ret .= "<div>Workshop".(count($workshops) > 1 ? 's' : '')." based on this proposal:<ul>";
    167167          while(list(,$workshop) = each($workshops)) {
    168168            $ret .= '<li>'.$workshop->getLinkedTitle().'</li>';
Note: See TracChangeset for help on using the changeset viewer.