{style}{literal} .ocs_fundraising_goal_name { font-size: 14px; text-align: center; font-weight: bold; padding-bottom: 10px; } .ocs_fundraising_bar, .ocs_fundraising_progress { height: 11px; -moz-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; } .ocs_fundraising_bar { background: #cfcfcf; position: relative; margin-bottom: 10px; border: 1px solid #969696; } .ocs_fundraising_amount { font-weight: bold; font-size: 11px; } .ocs_fundraising_current { height: 40px; position: relative; } .ocs_fundraising_current .ow_tip_box { font-weight: bold; font-size: 10px;} .ocs_fundraising_progress { background: #6195c2; border: 1px solid #005ab1; text-align: right; position: absolute; height: 9px; } .ocs_fundraising_target { position: absolute; right: 5px; color: #333; } .ow_sidebar .ocs_fundraising .ow_column { width: 100% } {/literal}{/style}
{if isset($error)}
{$error}
{elseif $goal}
`$goal.dto->id`]"}">{$goal.dto->name}
{if $image}
{/if}
{if $goal.dto->amountCurrent}
{$currency}{$goal.dto->amountCurrent}
{/if}
{if $goal.dto->amountCurrent}
{/if}
{text key='ocsfundraising+res_amount_raised_of' amount=$goal.dto->amountCurrent target=$goal.dto->amountTarget currency=$currency} {if $donators}
{$donators} {text key='ocsfundraising+contributors'}{/if} {if $goal.dto->endStamp}
{text key='ocsfundraising+end_date'}: {$goal.dto->endStamp|simple_date:true}{/if}
{if $goal.dto->description != ''}
{$goal.dto->description}
{/if}
{decorator name='button' langLabel='ocsfundraising+details' class="btn-details-goal-`$goal.dto->id`"} {decorator name='button' langLabel='ocsfundraising+donate' class="btn-donate-goal-`$goal.dto->id`"}
{if $showTop && $top}
{text key='ocsfundraising+top_donations'}
{foreach from=$top item='d'} {capture assign='infoString'} {if $d.username}`$d.username`]"}">{$d.displayName}{else}{$d.displayName}{/if} {$d.dto->donationStamp} {/capture} {capture assign='content'}{text key='ocsfundraising+amount'}: {$currency}{$d.dto->amount}{/capture}
{decorator name='ipc' infoString=$infoString content=$content avatar=$d.avatar}
{/foreach}
{/if} {if $showLatest && $latest}
{text key='ocsfundraising+latest_donations'}
{foreach from=$latest item='d'} {capture assign='infoString'} {if $d.username}`$d.username`]"}">{$d.displayName}{else}{$d.displayName}{/if} {$d.dto->donationStamp} {/capture} {capture assign='content'}{text key='ocsfundraising+amount'}: {$currency}{$d.dto->amount}{/capture}
{decorator name='ipc' infoString=$infoString content=$content avatar=$d.avatar}
{/foreach}
{/if}
{else}
{text key='ocsfundraising+not_assigned'}
{/if}