listify two-column tables

excluded are the Q and partyline modules, as they are deprecated. There
are some tables that have more than two columns, but could likely be
easily modified, but this will be attempted at a later time.
This commit is contained in:
girst
2019-05-29 17:41:38 +02:00
parent e528b5f2d6
commit fe8d447a60
12 changed files with 28 additions and 1 deletions
+2
View File
@@ -87,6 +87,7 @@ class CSASLMod : public CModule {
CTable Mechanisms;
Mechanisms.AddColumn(t_s("Mechanism"));
Mechanisms.AddColumn(t_s("Description"));
Mechanisms.SetStyle(CTable::ListStyle);
for (const auto& it : SupportedMechanisms) {
Mechanisms.AddRow();
@@ -94,6 +95,7 @@ class CSASLMod : public CModule {
Mechanisms.SetCell(t_s("Description"), it.sDescription.Resolve());
}
PutModule("");
PutModule(t_s("The following mechanisms are available:"));
PutModule(Mechanisms);
}