()
| 184 | } |
| 185 | |
| 186 | func (m *ElectionsModule) electionCyclePeriod() string { |
| 187 | if v, ok := m.plug.Config.Get(`ElectionCyclePeriod`).(string); ok { |
| 188 | return v |
| 189 | } |
| 190 | return `1 year` |
| 191 | } |
| 192 | |
| 193 | func (m *ElectionsModule) titleColor() string { |
| 194 | if v, ok := m.plug.Config.Get(`TitleColor`).(string); ok && v != `` { |