Sha256: 7505dccc9f2e2cf40aac08facffe3cb466070f4311e276cc903a0babca04ca27
Contents?: true
Size: 1.18 KB
Versions: 2
Compression:
Stored size: 1.18 KB
Contents
.user.user-card %header .icon= icon 'user', %w[3x fw] .headers %h3= link_to user.username, user, class: 'title' %ul.informations %li %b= _('Role:') = user.role %li %b= _('Since:') = user.created_at .content = link_to user_projects_path(user), class: 'btn btn--block' do = icon 'cog' = format(n_('%<nb>i project', '%<nb>i projects', user.projects_count), nb: user.projects_count) = link_to user_articles_path(user), class: 'btn btn--block' do = icon 'font' = format(n_('%<nb>i article', '%<nb>i articles', user.articles_count), nb: user.articles_count) = link_to user_notes_path(user), class: 'btn btn--block' do = icon 'sticky-note' = format(n_('%<nb>i note', '%<nb>i notes', user.notes_count), nb: user.notes_count) = link_to user_uploads_path(user), class: 'btn btn--block' do = icon 'image' = format(n_('%<nb>i upload', '%<nb>i uploads', user.uploads_count), nb: user.uploads_count) = link_to user_albums_path(user), class: 'btn btn--block' do = icon 'book' = format(n_('%<nb>i album', '%<nb>i albums', user.albums_count), nb: user.albums_count)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
elabs-2.0.0 | app/views/elabs/users/_user.html.haml |
elabs-2.0.0.pre | app/views/elabs/users/_user.html.haml |