Rosetta Code/List authors of task descriptions: Difference between revisions

m
→‎{{header|Perl 6}}: Meh. helps if I use the right sort key generator
(→‎{{header|Perl 6}}: Change output format to sortable wiki-table)
m (→‎{{header|Perl 6}}: Meh. helps if I use the right sort key generator)
Line 385:
$out.say: "|-\n|style=\"background-color: $color;\"",
( $task.key ~~ /\d/
?? " data-sort-value=\"{ sort-key $task.key.&naturally }\"| [[{uri-escape $task.key}|{$task.key}]]\n"
!! "| [[{uri-escape $task.key}|{$task.key}]]\n"
),
Line 395:
$out.say( "|}\n", '</div>' );
$out.close;
 
 
note "Table file saved as: {$tablefile.IO.absolute}";
Line 491 ⟶ 490:
! Task Name !! Date Added !! Status
|-
|style="background-color: #fff;" data-sort-value="main step of gost 0�281470F28147-0�890C89"| [[Main%20step%20of%20GOST%2028147-89|Main step of GOST 28147-89]]
|style="width: 10em; background-color: #fff;"| 2012-08-31
|style="width: 6em; background-color: #fff;"| Task
|-
|style="background-color: #ffd;"| [[Old%20Russian%20measure%20of%20length|Old Russian measure of length]]
|style="width: 10em; background-color: #ffd;"| 2013-01-09
|style="width: 6em; background-color: #ffd;"| Draft
|-
|style="background-color: #ffd;"| [[Transportation%20problem|Transportation problem]]
|style="width: 10em; background-color: #ffd;"| 2013-05-24
|style="width: 6em; background-color: #ffd;"| Draft
|}
|}
</div>
10,339

edits