Sha256: b346c50ca870ebfa22321f0286f08e14fc9105bd8fc61c413139dad2bda0a5c8
Contents?: true
Size: 1.05 KB
Versions: 2
Compression:
Stored size: 1.05 KB
Contents
- if !show_item? note = render 'elabs/layouts/hidden_entry', entity: note - else .note.note-card %header .icon= icon 'sticky-note', %w[3x fw] .headers %ul.informations %li = icon('link', ['fw']) = link_to _('Permalink'), note, class: 'title' %li = icon('user', ['fw']) %strong= _('User:') = link_to note.user.username, note.user %li = icon('language', ['fw']) %strong= _('Language:') = link_to note.language.name, note.language %li = icon('copyright', ['fw']) %strong= _('License:') = link_to note.license.name, note.license %li = icon('info', ['fw']) %strong= _('SFW:') = boolean_icon_tag note.sfw, 'is-sfw', 'is-nsfw' %li= render 'elabs/layouts/lists/projects', projects: note.projects %li= render 'elabs/layouts/lists/tags', tags: note.tags %article{ lang: note.language.iso639_1 }= markdown note.content
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
elabs-2.0.0 | app/views/elabs/notes/_note.html.haml |
elabs-2.0.0.pre | app/views/elabs/notes/_note.html.haml |