Sha256: 935c2c8489b4b252df5ba027df7bf6c1bb1f5c18b8f763758bccdd2ba32ca59b

Contents?: true

Size: 997 Bytes

Versions: 2

Compression:

Stored size: 997 Bytes

Contents

- if !show_item? project
  = render 'elabs/layouts/hidden_entry', entity: project
- else
  .project.project-card
    %header
      .icon= icon 'cog', %w[3x fw]
      .headers
        %h3= link_to project.name, project, class: 'title'

        %ul.informations
          %li
            = icon('user', ['fw'])
            %strong= _('User:')
            = link_to project.user.username, project.user
          %li
            = icon('language', ['fw'])
            %strong= _('Language:')
            = link_to project.language.name, project.language
          %li
            = icon('copyright', ['fw'])
            %strong= _('License:')
            = link_to project.license.name, project.license
          %li
            = icon('info', ['fw'])
            %strong= _('SFW:')
            = boolean_icon_tag project.sfw, 'is-sfw', 'is-nsfw'
          %li= render 'elabs/layouts/lists/tags', tags: project.tags

    %article{ lang: project.language.iso639_1 }= markdown project.short_description

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
elabs-2.0.0 app/views/elabs/projects/_project.html.haml
elabs-2.0.0.pre app/views/elabs/projects/_project.html.haml