Sha256: 54ef1913fdc0219649b36662bcc065b8821a76874af174d3a32c03e1a2592437
Contents?: true
Size: 1.97 KB
Versions: 2
Compression:
Stored size: 1.97 KB
Contents
- @page_title = _('Projects') .page__actions = link_to _('New Project'), new_member_project_path, class: 'btn btn--new' - if @projects.length.zero? = render 'elabs/member/layouts/empty', link: new_member_project_path - else %table.projects-list %thead %tr %th= member_order_by_link _('Name'), 'name' %th= member_order_by_link _('Main url'), 'main_url' %th= member_order_by_link _('SFW'), 'sfw' %th= member_order_by_link _('Pub.'), 'published' %th= member_order_by_link _('Lock.'), 'locked' %th= member_order_by_link _('Skip hist.'), 'hidden_in_history' %th= member_order_by_link _('Published at'), 'published_at' %th= _('License') %th= _('Language') %th= member_order_by_link _('Albums'), 'albums_count' %th= member_order_by_link _('Articles'), 'articles_count' %th= member_order_by_link _('Notes'), 'notes_count' %th= member_order_by_link _('Uploads'), 'uploads_count' %th= _('Tags') %th %tbody - @projects.each do |project| %tr.project %td= project.name %td= link_to project.main_url, project.main_url, target: '_blank' %td.is-icon= boolean_icon_tag project.sfw %td.is-icon= boolean_icon_tag project.published %td.is-icon= boolean_icon_tag project.locked, 'lock', 'unlock' %td.is-icon= boolean_icon_tag project.hidden_in_history %td= project.published_at %td = license_icon project.license = project.license.name %td= project.language.name %td.is-counter= project.albums_count %td.is-counter= project.articles_count %td.is-counter= project.notes_count %td.is-counter= project.uploads_count %td.relations - project.tags.each do |t| %span.tag= t.name %td .btn-group = member_action_links 'project', project = paginate @projects
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
elabs-2.0.0 | app/views/elabs/member/projects/index.html.haml |
elabs-2.0.0.pre | app/views/elabs/member/projects/index.html.haml |