2016-02-16 21:09:48 +01:00

33 lines
750 B
Plaintext
Executable File

.row
.columns.span_3
=image_tag (@user.avatar? ? @user.avatar.square.url : ""), :class => "avatar", :style => "width:100%; border-radius:50%;"
.clear
%br
.columns.span_9
%h1
=@user.firstname
=@user.name
=simple_format @user.bio
%p
=link_to i(:pencil), edit_forum_forum_user_path(@user) if @user == current_fuser or moderator?
.clear
%h2
Fils de discussion ouverts par
=@user.firstname
=@user.name
%table.table.table-striped.table-hover
%tr.transparent
%th Fil de discussion
%th{:style => "width:150px;"} Catégorie
%th Réponses
%th Lancé
%th Activité
%th
-if moderator?
%th{:style => "width:50px;"}
=render @user.topics