Sha256: eb2a6f73a78472bb62ff5401ed9dfcc93d5dcdd767a4d11480103fb6ce83cabd
Contents?: true
Size: 1.33 KB
Versions: 2
Compression:
Stored size: 1.33 KB
Contents
- if !show_item? @note - @page_title = _('Content not displayed') = render 'elabs/layouts/hidden_entry_full', entity: @note - else - @page_title = _('A note') .note.note--full %aside %ul %li = icon('user', ['fw']) %b= _('Author:') = link_to @note.user.username, @note.user %li = icon('calendar-check', ['fw']) %b= _('Published at:') = @note.published_at %li = icon('calendar', ['fw']) %b= _('Updated at:') = @note.updated_at %li = icon('info', ['fw']) %b= _('SFW:') = boolean_icon_tag @note.sfw, 'is-sfw', 'is-nsfw' %li = icon('language', ['fw']) %b= _('Language:') = link_to @note.language.name, @note.language %li = icon('copyright', ['fw']) %b= _('License:') = link_to @note.license.name, @note.license %li.separator= render 'elabs/layouts/lists/projects', projects: @note.projects %li.separator= render 'elabs/layouts/lists/tags', tags: @note.tags .content %article{ lang: @note.language.iso639_1 } = markdown @note.content = render 'elabs/comments/comments', entity: @note, new_comment: @new_comment, url: note_create_comment_path(@note)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
elabs-2.0.0 | app/views/elabs/notes/show.html.haml |
elabs-2.0.0.pre | app/views/elabs/notes/show.html.haml |