diff --git a/templates/editgroups.tpl b/templates/editgroups.tpl index 3d6c9dc..c1b3322 100644 --- a/templates/editgroups.tpl +++ b/templates/editgroups.tpl @@ -1,9 +1,10 @@ {** - * Suomen Frisbeeliitto Kisakone - * Copyright 2009-2010 Kisakone projektiryhm⌡ + * Suomen Frisbeegolfliitto Kisakone + * Copyright 2009-2010 Kisakone projektiryhmä + * Copyright 2014 Tuomo Tanskanen * * Group editor - * + * * -- * * This file is part of Kisakone. @@ -29,77 +30,77 @@ padding: 0; list-style-type: none; } - + .groupman li { padding: 2px; -moz-border-radius: 1em; - + } - + .beingDragged{ background-color: #CCC; } - - + + .droponme { border: 2px solid blue !important; - + } - + .groupman td { padding-top: 10px; padding-bottom: 10px; } - + .tag_person { - cursor: pointer; + cursor: pointer; } .tag_person:hover { text-decoration: underline; } - + .groupman .toplist { padding-top: 10px; padding-bottom: 10px; } - + .innertable td { padding: 3px; min-height: 32px; } - + .grouplist { width: 400px; float: left; - + } - + .tagged { border: 2px solid green !important; } - + .taggedp { background-color: #FFA; font-weight: bold; } - + h2 { clear: both; } - + .needs_splitter li { - + margin-left: 32px; } - - + + .toplist { border: 1px outset gray; padding: 0; margin: 2px; } - + .tag_group { margin-top: -2px; border: 1px outset blue; @@ -146,8 +147,9 @@ -

groupsFinished !== null}checked="checked"{/if} /> {translate id=groups_finished}

- +

groupsFinished !== null}checked="checked"{/if} /> + {translate id=groups_published} +

@@ -156,7 +158,7 @@

{$section->name|escape}

-
- - {if !$smarty.get.round} - {foreach from=$rounds key=index item=round} + {foreach from=$rounds key=index item=round} {math assign=num equation="x+1" x=$index}

{translate id=round_title number=$num}

{$round->starttime|date_format:"%d.%m.%Y"}
{capture assign=start}{$round->starttime|date_format:"%H:%M"}{/capture} - {if $round->starttype == 'sequential'} + {if $round->starttype == 'sequential'}

{translate id=sequential_start time=$start}

{elseif $round->starttype == 'simultaneous'}

{translate id=simultaneous_start time=$start}

{/if} {if $round->groupsAvailable()} {assign var=group value=$round->GetUserGroup()} - {if $group} -

{translate id=your_group} {if $round->groupsFinished === null}{translate id=preliminary}{/if}

+ {if $group && $round->groupsFinished !== null} +

{translate id=your_group}

{if $round->starttype == 'simultaneous'}{translate id=your_group_starting_hole hole=$group.0.StartingHole} {else} @@ -55,32 +54,36 @@ {foreach from=$group item=player} - + {/foreach}
{$player.LastName|escape} {$player.FirstName|escape} - {$player.ClassificationName} + {$player.ClassificationName}
- {if $allow_print}

{translate id=print_score_card}

{/if} + {if $allow_print} +

{translate id=print_score_card}

+ {/if} {/if} + {if $round->groupsFinished !== null}

{translate id=view_group_list} - {if $round->groupsFinished === null} - {translate id=groups_not_finished} - {/if}

+ {/if} {/if}
{/foreach} {else} {math assign=num equation="x-1" x=$smarty.get.round} - {assign var=round value=$rounds.$num} + {assign var=round value=$rounds.$num} + {if $round->groupsFinished !== null}

{translate id=round_title number=$smarty.get.round}

- {if $allow_print}

{translate id=print_score_card}

{/if} + {if $allow_print} +

{translate id=print_score_card}

+ {/if} {assign var=lastGroup value=-1} {foreach from=$round->GetAllGroups() item=group} @@ -88,7 +91,7 @@ {assign var=lastGroup value=$group.PoolNumber} {/if} - + {if $group.UserId == $user->id} { else} @@ -106,11 +109,12 @@ {$group.LastName|escape} {$group.FirstName|escape} - + {/foreach}
 
- {$group.ClassificationName} + {$group.ClassificationName}
{if $allow_print}

{translate id=print_score_card}

{/if} {/if} -{/if} \ No newline at end of file +{/if} +{/if} diff --git a/ui/languages/fi-FI/events b/ui/languages/fi-FI/events index 4babf6b..b479cdd 100644 --- a/ui/languages/fi-FI/events +++ b/ui/languages/fi-FI/events @@ -303,9 +303,9 @@ result_sd_panel SD move_tagged_object_here Siirrä tänne rebalance_groups Tasoita ryhmien kilpailijamäärät -groups_finished Ryhmät ovat nyt lopullisia +groups_published Julkista ryhmät your_group_starting Lähtö {start} -preliminary (alustavasti) +preliminary (Ryhmiä ei ole vielä julkistettu) change_hole Vaihda väylää change_hole_prompt Ryhmän aloitusväylä