blob: bbbe67ba017171d436015d1dce889ba6ce838854 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#include "_globals.h"
#include "column_protocol.h"
/*
* ColProtocol
*/
void ColProtocol::impl_outputRenderHeader(ext::ostream& tos, int row, int rowSpan) const
{
if (row == 1)
{
writeRowspanTD(tos, getCustomTitle(i18n(muT("Protocol")), i18n(muT("Protocol"))), row, 1, rowSpan);
}
}
void ColProtocol::impl_outputRenderRow(ext::ostream& tos, const Contact& contact, DisplayType display)
{
if (display == asContact)
{
tos << muT("<td>") << utils::htmlEscape(contact.getProtocol()) << muT("</td>") << ext::endl;
}
else
{
tos << muT("<td> </td>");
}
}
|