Sha256: 4bf6db81f7451ec7feea93db40f17118b3390d1929f5d1969a401b017e5d80aa

Contents?: true

Size: 1.28 KB

Versions: 4

Compression:

Stored size: 1.28 KB

Contents

- @page_title = _('Licenses')

.licenses-list
  - @licenses.each do |license|
    .license.license-card
      %header
        .icon= icon license.icon, %w[2x fw], 'fab'
        .headers
          %h3= link_to license.name, license, class: 'title'

      .content
        = link_to license_projects_path(license), class: 'btn btn--block' do
          = icon 'cog'
          = format(n_('%<nb>i project', '%<nb>i projects', license.projects_count), nb: license.projects_count)
        = link_to license_articles_path(license), class: 'btn btn--block' do
          = icon 'font'
          = format(n_('%<nb>i article', '%<nb>i articles', license.articles_count), nb: license.articles_count)
        = link_to license_notes_path(license), class: 'btn btn--block' do
          = icon 'sticky-note'
          = format(n_('%<nb>i note', '%<nb>i notes', license.notes_count), nb: license.notes_count)
        = link_to license_uploads_path(license), class: 'btn btn--block' do
          = icon 'image'
          = format(n_('%<nb>i upload', '%<nb>i uploads', license.uploads_count), nb: license.uploads_count)
        = link_to license_albums_path(license), class: 'btn btn--block' do
          = icon 'book'
          = format(n_('%<nb>i album', '%<nb>i albums', license.albums_count), nb: license.albums_count)

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
elabs-4.0.0 app/views/elabs/licenses/index.html.haml
elabs-3.0.0 app/views/elabs/licenses/index.html.haml
elabs-2.0.0 app/views/elabs/licenses/index.html.haml
elabs-2.0.0.pre app/views/elabs/licenses/index.html.haml