static String eventsTable()

in buildSrc/src/main/groovy/org/grails/events/EventsPage.groovy [9:29]


    static String eventsTable(List<Event> events, boolean showLocation = false) {
        String msg = """\
<div class="training"><table>
<colgroup>
<col>
<col>
${showLocation ? '<col>': ''}
<col>
</colgroup>
<thead>
<tr><th>Event</th><th>Date(s)</th>${showLocation ? '<th>Location</th>': ''}<th>Speakers</th></tr>
</thead>
<tbody>
"""
        for (Event event : events) {
            msg += tableRowForEvent(event, showLocation)
        }
        msg += '</tbody>'
        msg += '</table></div>'
        msg
    }