Beispiel #1
0
 public function to_html(\System\Template\Renderer $ren)
 {
     return div('event', array(div('event_image', $ren->link_for('event', $this->image->to_html($ren, 78, 56), args($this))), div('event_info', array(span('part name', $ren->link_for('event', $this->name, args($this))), $this->location ? span('part city', $ren->link_ext($this->location->map_link(), $this->location->name)) : '', span('part date', $ren->format_date($this->start, 'human-full-datetime')))), span('cleaner', '')));
 }
 public function to_html(\System\Template\Renderer $ren)
 {
     return div('team_member', array($ren->link_for('team', $this->team->logo->to_html($ren, 56, 38), args($this->team)), div('team_member_info', array($this->team->to_html_link($ren), div('roles', implode(', ', $this->get_roles($ren))))), div('cleaner', '')));
 }
Beispiel #3
0
 public function label(\System\Template\Renderer $ren)
 {
     return $ren->link_for('team', \Stag::span(array("class" => "icon", "style" => "background:url(" . $this->logo->thumb(16, 16) . '); width:16px; height:16px;', "close" => true)) . span('team_name_short', $this->name), array("args" => array($this)));
 }