-
Notifications
You must be signed in to change notification settings - Fork 4
/
too_many_votes.html
38 lines (32 loc) · 1.05 KB
/
too_many_votes.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="https://p.trellocdn.com/power-up.min.css" type="text/css" />
</head>
<body>
<div data-i18n-id="maxVotes"></div>
<hr/>
<div>
<span data-i18n-id="maxVotesRationale"></span>
<a
href="http://www.leanmath.com/blog-entry/multi-voting-math-or-n3"
target="_blank"
><span data-i18n-id="maxVotesLink"></span></a>.
</div>
<script src="https://p.trellocdn.com/power-up.min.js"></script>
<script>
const t = window.TrelloPowerUp.iframe();
const maxVotes = t.arg('maxVotes');
const maxVotesElement = document.querySelector('[data-i18n-id="maxVotes"');
maxVotesElement.dataset.i18nArgs = JSON.stringify({ maxVotes });
window.TrelloPowerUp.util.initLocalizer(
window.locale,
{ localization: t.arg('localization') }
).then(() => {
t.localizeNode(document.body);
t.sizeTo('body');
});
</script>
</body>
</html>