()
| 191 | } |
| 192 | |
| 193 | func (m *ElectionsModule) titleColor() string { |
| 194 | if v, ok := m.plug.Config.Get(`TitleColor`).(string); ok && v != `` { |
| 195 | return v |
| 196 | } |
| 197 | return `yellow` |
| 198 | } |
| 199 | |
| 200 | // daysRemaining returns a human-readable days-remaining string for an election. |
| 201 | func (m *ElectionsModule) daysRemaining() string { |