karma: karmaweb command + web-board link on top lists, via configurable karma_url
All checks were successful
ci / check (push) Successful in 47s
All checks were successful
ci / check (push) Successful in 47s
This commit is contained in:
parent
739fc8ad94
commit
7f6327270b
6 changed files with 92 additions and 7 deletions
|
|
@ -13,12 +13,12 @@ pub mod wiki;
|
|||
use super::module::Module;
|
||||
use crate::i18n::Locale;
|
||||
|
||||
pub fn all(network: &str, locale: Locale) -> Vec<Box<dyn Module>> {
|
||||
pub fn all(network: &str, locale: Locale, karma_url: Option<String>) -> Vec<Box<dyn Module>> {
|
||||
vec![
|
||||
Box::new(builtins::Builtins),
|
||||
Box::new(dice::Dice::new()),
|
||||
Box::new(hash::Hash),
|
||||
Box::new(karma::Karma::new(network, locale)),
|
||||
Box::new(karma::Karma::new(network, locale, karma_url)),
|
||||
Box::new(crypto::Crypto),
|
||||
Box::new(define::Define),
|
||||
Box::new(down::Down),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue