Commit 76fb81b8 authored by Stephane Glondu's avatar Stephane Glondu
Browse files

More things in view template

parent c351faf0
......@@ -350,6 +350,7 @@ let election_view ~election =
] ()
];
br ();
br ();
(* if election.voting_extended_until ... *)
pcdata "This election ends at the administrator's discretion.";
br ();
......
......@@ -68,7 +68,11 @@ let format_election e =
user_name = "admin";
user_type = "dummy";
} in
let election_trustees = [] in
let election_trustees =
e.public_data.public_keys |>
Array.map (fun k -> k.trustee_public_key.y |> Z.to_string |> hashB) |>
Array.to_list
in
let election_state = match e.public_data.election_result with
| Some r ->
Array.mapi (fun i q ->
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment