{extends "idf/base-simple.html"}
{block body}
<
table
class
=
"form"
summary
=
""
>
<
tr
>
<
th
style
=
"text-align: right"
>{if $user_data.avatar != ''}
<
img
style
=
"max-height: 60px; max-width: 60px;"
src
=
"{upload}/avatars/{$user_data.avatar}"
alt
=
" "
/>
{else}
{/if}
</
th
>
<
td
>{$member}</
td
>
</
tr
>
{if $user_data.description != ''}
<
tr
>
<
th
>{trans 'Description:'}</
th
>
<
td
>{$user_data.description}</
td
>
</
tr
>
{/if}
{if $user_data.twitter != ''}
<
tr
>
<
th
>{trans 'Twitter:'}</
th
>
<
td
><
a
rel
=
"nofollow"
target
=
"_blank"
href
=
'http://twitter.com/{$user_data.twitter}'
>{$user_data.twitter}</
a
></
td
>
</
tr
>
{/if}
{if $user_data.public_email != ''}
<
tr
>
<
th
>{trans 'Public Email:'}</
th
>
<
td
><
a
href
=
'mailto:{$user_data.public_email}'
>{$user_data.public_email}</
a
></
td
>
</
tr
>
{/if}
{if $user_data.website != ''}
<
tr
>
<
th
>{trans 'Website:'}</
th
>
<
td
><
a
rel
=
"nofollow"
target
=
"_blank"
href
=
'{$user_data.website}'
>{$user_data.website}</
a
></
td
>
</
tr
>
{/if}
<
tr
>
<
th
>{trans 'Last time seen:'}</
th
>
<
td
>{$member.last_login|dateago}</
td
>
</
tr
>
<
tr
>
<
th
>{trans 'Member since:'}</
th
>
<
td
>{$member.date_joined|date}</
td
>
</
tr
>
</
table
>
Issues user is working on:<
br
/><
br
/>
{$issues.render}
Last commits of user:<
br
/><
br
/>
{$commits.render}
{/block}
{block context}
<
div
class
=
"issue-submit-info"
>
<
p
>{blocktrans}You are looking at the public profile of {$member}.{/blocktrans}</
p
>
</
div
>
Projects:
<
table
class
=
"form"
>
{if $projects}
{foreach $projects as $p}
{if $p.private == 0}
<
tr
>
<
td
>
<
a
href
=
"{url 'IDF_Views_Project::home', array($p.name)}"
>{$p.name} - {$p.shortdesc}</
a
>
</
td
>
</
tr
>
{/if}
{/foreach}
{else}
<
tr
>
<
td
>
This user is not working on any projects
</
td
>
</
tr
>
{/if}
</
table
>
<
strong
>Project Stats</
strong
>
<
dl
class
=
"statistics smaller"
>
<
dt
>{trans 'Issues:'}</
dt
><
dd
>{$stats.issues}</
dd
>
<
dt
>{trans 'Commits:'}</
dt
><
dd
>{$stats.commits}</
dd
>
<
dt
>{trans 'Documentations:'}</
dt
><
dd
>{$stats.docpages}</
dd
>
<
dt
>{trans 'Downloads:'}</
dt
><
dd
>{$stats.downloads}</
dd
>
<
dt
>{trans 'Code reviews:'}</
dt
><
dd
>{$stats.reviews}</
dd
>
<
dt
>{trans 'Private Projects:'}</
dt
><
dd
>{$privatecount}</
dd
>
<
dt
>Public Projects:</
dt
><
dd
>{$stats.proj_count}</
dd
>
</
dl
>
{/block}